tests: run nix eval test after resolving impurities

This commit is contained in:
Yusuf Bera Ertan 2022-07-24 19:29:18 +03:00
parent 07d0e71a13
commit 0cf34d9162
No known key found for this signature in database
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -29,8 +29,8 @@
cp -r ${examples}/$dir/* .
chmod -R +w .
nix flake lock --override-input dream2nix ${../../.}
nix eval --read-only --no-allow-import-from-derivation .#default.name
nix run .#resolveImpure || echo "no resolveImpure probably?"
nix eval --read-only --no-allow-import-from-derivation .#default.name
nix flake check "$@"
'';
in