chore: allow running tests-examples against different version of nix

This commit is contained in:
DavHau 2022-12-28 14:19:57 +08:00
parent a3a6da166f
commit 0073d6db66

View File

@ -34,6 +34,9 @@
start_time=$(date +%s)
cp -r ${examples}/$dir/* .
chmod -R +w .
if [ -n "$NIX" ]; then
PATH="$(dirname $NIX):$PATH"
fi
nix flake lock --override-input dream2nix ${../../.}
if nix flake show | grep -q resolveImpure; then
nix run .#resolveImpure --show-trace