nixos/top-level: Check activation script syntax

This commit is contained in:
Janne Heß 2021-09-08 20:08:44 +02:00
parent 739c25621f
commit 2bcd3dad86
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

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