diff options
author | Kristoffer Søholm <k.soeholm@gmail.com> | 2018-10-30 22:47:08 +0100 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-10-30 22:47:08 +0100 |
commit | 5e5e57c5728722450091160b2b0dbf53a311b230 (patch) | |
tree | 78bd3e6e9e65269d9b78bf2b6850f0910995adb0 | |
parent | 4c8a198f12ed3131615e725c59349b04b8ed18a3 (diff) | |
download | nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.tar nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.tar.gz nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.tar.bz2 nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.tar.lz nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.tar.xz nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.tar.zst nixlib-5e5e57c5728722450091160b2b0dbf53a311b230.zip |
buildFHSUserEnv: use runScript in env (#49077)
This makes its behaviour conform to what is implied in the documentation.
-rw-r--r-- | pkgs/build-support/build-fhs-userenv/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/build-fhs-userenv/default.nix b/pkgs/build-support/build-fhs-userenv/default.nix index c733556de45c..2bad200efc4d 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 "" |