[bug#33724] gnu: ghc-call-stack-boot: Make it a hidden package.

Message ID 20181213125641.20767-1-mail@cbaines.net
State Accepted
Commit bd208a13ef4c203cf9035c0ccf454a60c1949c58
Headers show
Series [bug#33724] gnu: ghc-call-stack-boot: Make it a hidden package. | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied

Commit Message

Christopher Baines Dec. 13, 2018, 12:56 p.m. UTC
This package doesn't sound like it should be directly used, so hide it.

* gnu/packages/haskell.scm (ghc-call-stack-boot): Use hidden-package to hide
the package.
---
 gnu/packages/haskell.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Comments

Leo Famulari Dec. 13, 2018, 8:28 p.m. UTC | #1
On Thu, Dec 13, 2018 at 01:56:41PM +0100, Christopher Baines wrote:
> This package doesn't sound like it should be directly used, so hide it.
> 
> * gnu/packages/haskell.scm (ghc-call-stack-boot): Use hidden-package to hide
> the package.

LGTM, thanks!
Christopher Baines Dec. 14, 2018, 4:16 p.m. UTC | #2
Leo Famulari <leo@famulari.name> writes:

> On Thu, Dec 13, 2018 at 01:56:41PM +0100, Christopher Baines wrote:
>> This package doesn't sound like it should be directly used, so hide it.
>>
>> * gnu/packages/haskell.scm (ghc-call-stack-boot): Use hidden-package to hide
>> the package.
>
> LGTM, thanks!

Great, I've pushed this now :)

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 57435dca07..8d0e2aef69 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -5069,10 +5069,11 @@  call stacks with different versions of the compiler.")
 ;; This is used as an input to ghc-hunit.  We cannot use ghc-call-stack there,
 ;; because it depends on ghc-nanospec, which depends on ghc-hunit.
 (define-public ghc-call-stack-boot
-  (package
-    (inherit ghc-call-stack)
-    (arguments '(#:tests? #f))
-    (inputs '())))
+  (hidden-package
+   (package
+     (inherit ghc-call-stack)
+     (arguments '(#:tests? #f))
+     (inputs '()))))
 
 (define-public ghc-statevar
   (package