Ludovic Courtès <l...@gnu.org> writes: > Ricardo Wurmus <rek...@elephly.net> 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