mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-27 16:33:05 +03:00
chore: allow running tests-examples against different version of nix
This commit is contained in:
parent
a3a6da166f
commit
0073d6db66
@ -34,6 +34,9 @@
|
|||||||
start_time=$(date +%s)
|
start_time=$(date +%s)
|
||||||
cp -r ${examples}/$dir/* .
|
cp -r ${examples}/$dir/* .
|
||||||
chmod -R +w .
|
chmod -R +w .
|
||||||
|
if [ -n "$NIX" ]; then
|
||||||
|
PATH="$(dirname $NIX):$PATH"
|
||||||
|
fi
|
||||||
nix flake lock --override-input dream2nix ${../../.}
|
nix flake lock --override-input dream2nix ${../../.}
|
||||||
if nix flake show | grep -q resolveImpure; then
|
if nix flake show | grep -q resolveImpure; then
|
||||||
nix run .#resolveImpure --show-trace
|
nix run .#resolveImpure --show-trace
|
||||||
|
Loading…
Reference in New Issue
Block a user