1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Merge pull request #10299 from detroyejr/remove-repl-flake

flakes: remove experimental repl-flake
This commit is contained in:
Théophane Hufschmitt 2024-03-29 15:06:23 +01:00 committed by GitHub
commit b72e1c79da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 11 additions and 20 deletions

View file

@ -47,6 +47,9 @@ testRepl () {
| grep "attribute 'currentSystem' missing"
nix repl "${nixArgs[@]}" 2>&1 <<< "builtins.currentSystem" \
| grep "$(nix-instantiate --eval -E 'builtins.currentSystem')"
expectStderr 1 nix repl ${testDir}/simple.nix \
| grepQuiet -s "error: path '$testDir/simple.nix' is not a flake"
}
# Simple test, try building a drv