diff options
author | Elis Hirwing <elis@hirwing.se> | 2018-09-18 21:47:14 +0200 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2018-09-18 21:47:14 +0200 |
commit | 5664e64a015354e8b5e3c0cc4e9e7fac0db5f3dc (patch) | |
tree | 5f66828c23f47609a3b2c938a732d9d8c2ee621a /nixos/modules/system/activation/top-level.nix | |
parent | 8228c787b4faace67679dc0541bca5f907daebf9 (diff) |
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.
Diffstat (limited to 'nixos/modules/system/activation/top-level.nix')
-rw-r--r-- | nixos/modules/system/activation/top-level.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 9797ef641e4fc..254e9266e89e6 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -115,7 +115,7 @@ let inherit (pkgs) utillinux coreutils; systemd = config.systemd.package; - inherit (pkgs.stdenv) shell; + shell = "${pkgs.bash}/bin/sh"; inherit children; kernelParams = config.boot.kernelParams; |