mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 20:46:01 +01:00
Fixup checks around the error message 'Will not write lock file of flake'
This commit is contained in:
parent
cbb635159c
commit
62029df300
1 changed files with 1 additions and 1 deletions
|
|
@ -33,7 +33,7 @@ echo 456 > "$flake1Dir"/x.nix
|
|||
|
||||
# Dirty overrides require --allow-dirty-locks.
|
||||
expectStderr 1 nix flake lock "$flake2Dir" --override-input flake1 "$TEST_ROOT/flake1" |
|
||||
grepQuiet "Will not write lock file.*because it has an unlocked input"
|
||||
grepQuiet "Not writing lock file.*because it has an unlocked input"
|
||||
|
||||
nix flake lock "$flake2Dir" --override-input flake1 "$TEST_ROOT/flake1" --allow-dirty-locks
|
||||
_NIX_TEST_FAIL_ON_LARGE_PATH=1 nix flake lock "$flake2Dir" --override-input flake1 "$TEST_ROOT/flake1" --allow-dirty-locks --warn-large-path-threshold 1 --lazy-trees
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue