From 173bdf6d2fc9603e7daabbd216aa48ee44b4df4d Mon Sep 17 00:00:00 2001 From: Marc Weber Date: Thu, 12 Nov 2009 07:11:03 +0000 Subject: [PATCH] fix ghc-get-packages svn path=/nixpkgs/trunk/; revision=18331 --- pkgs/development/compilers/ghc/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/compilers/ghc/wrapper.nix b/pkgs/development/compilers/ghc/wrapper.nix index c3c9ce2d3ea..50633123491 100644 --- a/pkgs/development/compilers/ghc/wrapper.nix +++ b/pkgs/development/compilers/ghc/wrapper.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation { #! /bin/bash -e 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 -package-conf) ;; *)