git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/activation: Switch from bash to sh to avoid reading users bash config (#46851)

This fixes #46750. This should also work with non-POSIX shells like in #46042.

commit5664e64a015354e8b5e3c0cc4e9e7fac0db5f3dc authorElis Hirwing <elis@hirwing.se> dateTue 18 Sep 2018, 21:47 (8 years ago) parent8228c78
1 file changed+1−1
nixos/modules/system/activation/top-level.nix+1−1
nixos/modules/system/activation/top-level.nix+1−1
@@ -115,7 +115,7 @@ let
115115
116116 inherit (pkgs) utillinux coreutils;
117117 systemd = config.systemd.package;
118− inherit (pkgs.stdenv) shell;
118+ shell = "${pkgs.bash}/bin/sh";
119119
120120 inherit children;
121121 kernelParams = config.boot.kernelParams;