diff --git a/tests/examples/default.nix b/tests/examples/default.nix index 7bb55daa..e0d787d6 100644 --- a/tests/examples/default.nix +++ b/tests/examples/default.nix @@ -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