diff options
Diffstat (limited to 'pkgs/stdenv/generic/default.nix')
-rw-r--r-- | pkgs/stdenv/generic/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index d7b953ffb056..3aa2d3bfac07 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -1,4 +1,4 @@ -{ stdenv, name, preHook ? null, postHook ? null, initialPath, gcc, bash +{ stdenv, name, preHook ? null, postHook ? null, initialPath, gcc, shell , param1 ? "", param2 ? "", param3 ? "", param4 ? "", param5 ? "" }: @@ -13,17 +13,17 @@ let { setup = ./setup.sh; - inherit preHook postHook initialPath gcc; + inherit preHook postHook initialPath gcc shell; # TODO: make this more elegant. inherit param1 param2 param3 param4 param5; } # Add a utility function to produce derivations that use this - # stdenv and its the bash shell. + # stdenv and its shell. // { mkDerivation = attrs: derivation (attrs // { - builder = bash; + builder = shell; args = ["-e" (if attrs ? builder then attrs.builder else ./default-builder.sh)]; stdenv = body; system = body.system; |