guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/2] gnu: ghc-process: Replace reference to /bin/sh.


From: Ricardo Wurmus
Subject: Re: [PATCH 2/2] gnu: ghc-process: Replace reference to /bin/sh.
Date: Sun, 02 Oct 2016 17:03:35 +0200
User-agent: mu4e 0.9.16; emacs 25.1.1

Ludovic Courtès <address@hidden> writes:

> Ricardo Wurmus <address@hidden> skribis:
>
>> * gnu/packages/haskell.scm (ghc-process)[arguments]: Add phases
>> "patch-reference-to-/bin/sh" to replace reference to /bin/sh.
>
> OK!
>
> [...]
>
>> +;; Do not use this as an input.  It is part of GHC.
>>  (define-public ghc-process
>
> Should it be private then?

People may want to install this package into a profile, but we as
packagers should make sure that we don’t use it as an input.  The same
applies to the “ghc-bytestring” package (and possibly others).

Using them as inputs results in two versions to be present at compile
time, with different packages using different versions.  GHC detects
this and issues warnings about this as it can lead to all sorts of
errors.

The importer should probably avoid adding standard packages to the
inputs.

~~ Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]