pkgs/development/compilers/ghc/ghc-get-packages.sh: append global "package.conf" to the list of package config files
The wrapper script for ghc-pkg changes the command's default behavior such that global packages -- i.e. packages that are part of GHC itself -- are no longer found: $ ghc-pkg describe base ghc-pkg: cannot find package base This patch remedies the problem. svn path=/nixpkgs/trunk/; revision=19256
This commit is contained in:
parent
07393ba7f0
commit
ad0b6441f8
@ -18,3 +18,4 @@ for p in $PATH; do
|
||||
test -f $i && echo -n " $prefix$i"
|
||||
done
|
||||
done
|
||||
test -f "$2/../lib/ghc-$version/package.conf" && echo -n " $prefix$2/../lib/ghc-$version/package.conf"
|
||||
|
Loading…
Reference in New Issue
Block a user