diff --git a/nix/validate.nix b/nix/validate.nix index 4159f80..579a7af 100644 --- a/nix/validate.nix +++ b/nix/validate.nix @@ -10,7 +10,9 @@ writeShellApplication { ]; text = '' shopt -s globstar + export PACKER_LOG=1 packer init sources + unset PACKER_LOG for vars in distros/**/*.pkrvars.hcl; do packer validate -except=upload "-var-file=''${vars}" sources/ done