Bind bash to /bin/sh
This fixes a bug on non-nixos systems where bash may not be statically linked.
This commit is contained in:
parent
39f7aaef09
commit
2cef740876
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ pkgs: combinators: with combinators; [
|
||||||
(unsafe-add-raw-args "--clearenv")
|
(unsafe-add-raw-args "--clearenv")
|
||||||
(unsafe-add-raw-args "--die-with-parent")
|
(unsafe-add-raw-args "--die-with-parent")
|
||||||
(add-pkg-deps [ pkgs.coreutils ])
|
(add-pkg-deps [ pkgs.coreutils ])
|
||||||
(readonly "/bin/sh")
|
(ro-bind "${pkgs.bash}/bin/sh" "/bin/sh")
|
||||||
(fwd-env "LANG")
|
(fwd-env "LANG")
|
||||||
(fwd-env "HOME")
|
(fwd-env "HOME")
|
||||||
(fwd-env "TERM")
|
(fwd-env "TERM")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue