From 948e2908957bdd8c95e544b0353ea91aa78b8574 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Thu, 1 Mar 2018 14:03:41 -0500 Subject: [PATCH] stage-2-init: Use the host bash as SHELL --- nixos/modules/system/boot/stage-2.nix | 1 + 1 file changed, 1 insertion(+) 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;