mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Add support for user-extensible shellHook to buildStackProject
buildStackProject is overridding shell hook and doesn't append user-specified shellHook to it, resulting in user's shellHook never executing.
This commit is contained in:
parent
9934f0bb51
commit
01a8fa1a72
@ -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