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.
This commit is contained in:
Mathieu Boespflug 2016-06-05 00:19:06 +02:00
parent b39e38f096
commit 292a8892a0

View File

@ -5,6 +5,7 @@ with stdenv.lib;
{ buildInputs ? []
, extraArgs ? []
, LD_LIBRARY_PATH ? ""
, ghc ? ghc
, ...
}@args: