diff options
author | Mathieu Boespflug <m@tweag.io> | 2016-06-05 00:19:06 +0200 |
---|---|---|
committer | Mathieu Boespflug <m@tweag.io> | 2016-06-13 00:55:33 +0200 |
commit | 292a8892a091905500105be931d8ddb4bc3cd68c (patch) | |
tree | 38520d7fee0aa6d396392666ab0eee074de5214a /pkgs | |
parent | b39e38f096f3fbdd0c42f4945a9052aa40cb20d9 (diff) |
haskell.lib.buildStackProject: allow passing in a custom GHC version.
Previously, the user could only compile using the default version of GHC in Nixpkgs. Now this can be changed by setting the `ghc` attribute appropriately.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/haskell-modules/generic-stack-builder.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/generic-stack-builder.nix b/pkgs/development/haskell-modules/generic-stack-builder.nix index 94999ed8c45a2..caada71632d54 100644 --- a/pkgs/development/haskell-modules/generic-stack-builder.nix +++ b/pkgs/development/haskell-modules/generic-stack-builder.nix @@ -5,6 +5,7 @@ with stdenv.lib; { buildInputs ? [] , extraArgs ? [] , LD_LIBRARY_PATH ? "" +, ghc ? ghc , ... }@args: |