fix ghc-get-packages

svn path=/nixpkgs/trunk/; revision=18331
This commit is contained in:
Marc Weber 2009-11-12 07:11:03 +00:00
parent ac64ef2275
commit 173bdf6d2f

View File

@ -24,7 +24,7 @@ stdenv.mkDerivation {
#! /bin/bash -e #! /bin/bash -e
declare -A GHC_PACKAGES_HASH # using bash4 hashs to get uniq paths declare -A GHC_PACKAGES_HASH # using bash4 hashs to get uniq paths
for arg in \$($out/bin/ghc-get-packages.sh 6.10.3 "$(dirname $0)"); do for arg in \$($out/bin/ghc-get-packages.sh ${ghc.version} \"\$(dirname \$0)\"); do
case "\$arg" in case "\$arg" in
-package-conf) ;; -package-conf) ;;
*) *)