Skip to content

Commit

Permalink
haskell infra: Use self.ghc rather than closing over initial value,…
Browse files Browse the repository at this point in the history
… take II

My cherry-pick 94073e7 forgot one
due to me overly conservatively handling a conflict.
  • Loading branch information
Ericson2314 committed Jun 8, 2018
1 parent 9b3c53e commit 5c2d2ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/haskell-modules/make-package-set.nix
Expand Up @@ -119,7 +119,7 @@ let
installPhase = ''
export HOME="$TMP"
mkdir -p "$out"
cabal2nix --compiler=${ghc.haskellCompilerName} --system=${hostPlatform.system} ${sha256Arg} "${src}" ${extraCabal2nixOptions} > "$out/default.nix"
cabal2nix --compiler=${self.ghc.haskellCompilerName} --system=${hostPlatform.system} ${sha256Arg} "${src}" ${extraCabal2nixOptions} > "$out/default.nix"
'';
};

Expand Down

0 comments on commit 5c2d2ad

Please sign in to comment.