From 292a8892a091905500105be931d8ddb4bc3cd68c Mon Sep 17 00:00:00 2001 From: Mathieu Boespflug Date: Sun, 5 Jun 2016 00:19:06 +0200 Subject: 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. --- pkgs/development/haskell-modules/generic-stack-builder.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs') 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: -- cgit 1.4.1