From 5e5e57c5728722450091160b2b0dbf53a311b230 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20S=C3=B8holm?= Date: Tue, 30 Oct 2018 22:47:08 +0100 Subject: [PATCH] buildFHSUserEnv: use runScript in env (#49077) This makes its behaviour conform to what is implied in the documentation. --- pkgs/build-support/build-fhs-userenv/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/build-fhs-userenv/default.nix b/pkgs/build-support/build-fhs-userenv/default.nix index c733556de45..2bad200efc4 100644 --- a/pkgs/build-support/build-fhs-userenv/default.nix +++ b/pkgs/build-support/build-fhs-userenv/default.nix @@ -28,7 +28,7 @@ in runCommand name { passthru = passthru // { env = runCommand "${name}-shell-env" { shellHook = '' - exec ${chrootenv} ${init "bash"} "$(pwd)" + exec ${chrootenv} ${init runScript} "$(pwd)" ''; } '' echo >&2 ""