Fix the flaky nix-profile
test
Exclude the `error (ignored)` from the message that is checked by the install conflict test. Fix https://github.com/NixOS/nix/issues/8140
This commit is contained in:
parent
81491e1379
commit
7076d37047
|
@ -144,6 +144,7 @@ expect 1 nix profile install $flake2Dir
|
||||||
diff -u <(
|
diff -u <(
|
||||||
nix --offline profile install $flake2Dir 2>&1 1> /dev/null \
|
nix --offline profile install $flake2Dir 2>&1 1> /dev/null \
|
||||||
| grep -vE "^warning: " \
|
| grep -vE "^warning: " \
|
||||||
|
| grep -vE "^error \(ignored\): " \
|
||||||
|| true
|
|| true
|
||||||
) <(cat << EOF
|
) <(cat << EOF
|
||||||
error: An existing package already provides the following file:
|
error: An existing package already provides the following file:
|
||||||
|
|
Loading…
Reference in a new issue