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.
This commit is contained in:
Elis Hirwing 2018-09-18 21:47:14 +02:00 committed by xeji
parent 8228c787b4
commit 5664e64a01

View file

@ -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;