mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #137120 from helsinki-systems/feat/activate-syntax
nixos/top-level: Check activation script syntax
This commit is contained in:
commit
146ae89c63
1 changed files with 2 additions and 0 deletions
|
@ -61,6 +61,8 @@ let
|
||||||
substituteInPlace $out/dry-activate --subst-var out
|
substituteInPlace $out/dry-activate --subst-var out
|
||||||
chmod u+x $out/activate $out/dry-activate
|
chmod u+x $out/activate $out/dry-activate
|
||||||
unset activationScript dryActivationScript
|
unset activationScript dryActivationScript
|
||||||
|
${pkgs.runtimeShell} -n $out/activate
|
||||||
|
${pkgs.runtimeShell} -n $out/dry-activate
|
||||||
|
|
||||||
cp ${config.system.build.bootStage2} $out/init
|
cp ${config.system.build.bootStage2} $out/init
|
||||||
substituteInPlace $out/init --subst-var-by systemConfig $out
|
substituteInPlace $out/init --subst-var-by systemConfig $out
|
||||||
|
|
Loading…
Reference in a new issue