Skip to content

Commit 42b5489

Browse files
committed
Allow a shell environment to be requested in default.nix
1 parent edaec8e commit 42b5489

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

default.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
, sdistTarball ? false
2525
# The strict packaging process as used on Hackage. Tests consistency of the Cabal file.
2626
, buildFromSdist ? true
27+
# Allow a shell environment to be requested
28+
, returnShellEnv ? false
2729

2830
# Turn all warn into err with {-Wall,-Werror}
2931
, failOnAllWarnings ? false
@@ -225,7 +227,7 @@ let
225227
};
226228
});
227229

228-
returnShellEnv = false;
230+
inherit returnShellEnv;
229231
};
230232

231233
# One part of Haskell.lib options are argument switches, those are in `inherit`ed list.

0 commit comments

Comments
 (0)