Merge pull request #44568 from uskudnik/add-shellhook-support-to-buildstackproject
Add support for user-extensible shellHook to haskell.lib.buildStackProject
This commit is contained in:
commit
a57c8579a8
@ -33,7 +33,7 @@ in stdenv.mkDerivation (args // {
|
||||
STACK_PLATFORM_VARIANT="nix";
|
||||
STACK_IN_NIX_SHELL=1;
|
||||
STACK_IN_NIX_EXTRA_ARGS = extraArgs;
|
||||
shellHook = addStackArgsHook;
|
||||
shellHook = addStackArgsHook + args.shellHook or "";
|
||||
|
||||
|
||||
# XXX: workaround for https://ghc.haskell.org/trac/ghc/ticket/11042.
|
||||
|
Loading…
Reference in New Issue
Block a user