summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-01 14:03:41 -0500
committerShea Levy <shea@shealevy.com>2018-03-01 14:03:41 -0500
commit948e2908957bdd8c95e544b0353ea91aa78b8574 (patch)
tree590afa361e5ee2e03e50f59f9c7aabcec7d5799e /nixos/modules
parent897b7c7e9b45c6cb272f3221a28f2e5529a52e19 (diff)
downloadnixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.tar
nixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.tar.gz
nixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.tar.bz2
nixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.tar.lz
nixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.tar.xz
nixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.tar.zst
nixlib-948e2908957bdd8c95e544b0353ea91aa78b8574.zip
stage-2-init: Use the host bash as SHELL
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/system/boot/stage-2.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-2.nix b/nixos/modules/system/boot/stage-2.nix
index 8db6d2d2f734..78afbd8dbc12 100644
--- a/nixos/modules/system/boot/stage-2.nix
+++ b/nixos/modules/system/boot/stage-2.nix
@@ -10,6 +10,7 @@ let
   bootStage2 = pkgs.substituteAll {
     src = ./stage-2-init.sh;
     shellDebug = "${pkgs.bashInteractive}/bin/bash";
+    shell = "${pkgs.bash}/bin/bash";
     isExecutable = true;
     inherit (config.nix) readOnlyStore;
     inherit (config.networking) useHostResolvConf;