Merge "fix: do not test non-presence of flakes from a subdirectory of lix src" into main

This commit is contained in:
jade
2025-03-18 20:03:40 +00:00
committed by Lix Systems Gerrit
+3 -1
View File
@@ -48,7 +48,9 @@ testRepl () {
nix repl "${nixArgs[@]}" 2>&1 <<< "builtins.currentSystem" \
| grep "$(nix-instantiate --eval -E 'builtins.currentSystem')"
local replOutput="$(nix repl "${nixArgs[@]}" ${testDir}/simple.nix 2>&1)"
# . is TEST_ROOT
cp "$testDir/simple.nix" .
local replOutput="$(nix repl "${nixArgs[@]}" ./simple.nix 2>&1)"
echo "$replOutput"
echo "$replOutput" \
| grepQuiet "error: could not find a flake.nix file" \