Merge pull request #8158 from tweag/harden-profiles-test

Fix the flaky `nix-profile` test
This commit is contained in:
Eelco Dolstra
2023-04-11 12:12:09 +02:00
committed by GitHub

View File

@@ -144,6 +144,7 @@ expect 1 nix profile install $flake2Dir
diff -u <(
nix --offline profile install $flake2Dir 2>&1 1> /dev/null \
| grep -vE "^warning: " \
| grep -vE "^error \(ignored\): " \
|| true
) <(cat << EOF
error: An existing package already provides the following file: