diff options
author | Janne Heß <janne@hess.ooo> | 2021-09-08 20:08:44 +0200 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2021-09-08 20:08:44 +0200 |
commit | 2bcd3dad866e70b0dc4943d3ff32ffcd487ec301 (patch) | |
tree | c071e3c366e62017dadfbac367681933171a96fc /nixos/modules/system/activation/top-level.nix | |
parent | 739c25621f94f0e892e5ed33ba4f2196ccc05e64 (diff) | |
download | nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.tar nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.tar.gz nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.tar.bz2 nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.tar.lz nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.tar.xz nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.tar.zst nixpkgs-2bcd3dad866e70b0dc4943d3ff32ffcd487ec301.zip |
nixos/top-level: Check activation script syntax
Diffstat (limited to 'nixos/modules/system/activation/top-level.nix')
-rw-r--r-- | nixos/modules/system/activation/top-level.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/activation/top-level.nix b/nixos/modules/system/activation/top-level.nix index 80835d9688f..616e1422aa8 100644 --- a/nixos/modules/system/activation/top-level.nix +++ b/nixos/modules/system/activation/top-level.nix @@ -61,6 +61,8 @@ let substituteInPlace $out/dry-activate --subst-var out chmod u+x $out/activate $out/dry-activate unset activationScript dryActivationScript + ${pkgs.runtimeShell} -n $out/activate + ${pkgs.runtimeShell} -n $out/dry-activate cp ${config.system.build.bootStage2} $out/init substituteInPlace $out/init --subst-var-by systemConfig $out |