diff options
author | Niklas Hambüchen <mail@nh2.me> | 2017-04-26 20:20:36 +0200 |
---|---|---|
committer | Niklas Hambüchen <mail@nh2.me> | 2017-04-26 20:20:36 +0200 |
commit | 139b1377d4f9a8c943af79dd245ea9ecf6536567 (patch) | |
tree | a8970f37448b5f294efc58e18abfb1751d07fdb7 /pkgs/development/haskell-modules/generic-stack-builder.nix | |
parent | 060f7cb94d236c8f1b60ab05670c5448b5be3e67 (diff) |
generic Haskell builder: Don't call `stack setup`.
`stack setup` should not be called inside `nix-build` because that makes stack download a GHC instead of using nix's one (the one provided `generic-stack-builder.nix` as the `ghc` argument), which will not work. Further evidence for this is that the `stack --nix` support intentionally uses `--system-ghc` for the same purpose.
Diffstat (limited to 'pkgs/development/haskell-modules/generic-stack-builder.nix')
-rw-r--r-- | pkgs/development/haskell-modules/generic-stack-builder.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/generic-stack-builder.nix b/pkgs/development/haskell-modules/generic-stack-builder.nix index 1a16cf3683fe4..53772b90dfb79 100644 --- a/pkgs/development/haskell-modules/generic-stack-builder.nix +++ b/pkgs/development/haskell-modules/generic-stack-builder.nix @@ -37,7 +37,6 @@ stdenv.mkDerivation (args // { configurePhase = args.configurePhase or '' export STACK_ROOT=$NIX_BUILD_TOP/.stack - stack setup ''; buildPhase = args.buildPhase or "stack build"; |