Add missing binaries to the GHC wrapper.
svn path=/nixpkgs/trunk/; revision=21434
This commit is contained in:
parent
170b98be32
commit
7d2ae46bce
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ stdenv.mkDerivation {
|
|||
for prg in ghc-pkg ghc-pkg-${ghc.version}; do
|
||||
makeWrapper $ghc/bin/$prg $out/bin/$prg --add-flags "\$($out/bin/ghc-get-packages.sh ${ghc.version} \"\$(dirname \$0)\" --package-conf=)"
|
||||
done
|
||||
for prg in hp2ps hpc hasktags hsc2hs; do
|
||||
test -x $ghc/bin/$prg && ln -s $ghc/bin/$prg $out/bin/$prg
|
||||
done
|
||||
cat >> $out/bin/ghc-packages << EOF
|
||||
#! /bin/bash -e
|
||||
declare -A GHC_PACKAGES_HASH # using bash4 hashs to get uniq paths
|
||||
|
|
Loading…
Reference in a new issue