Merge pull request #10195 from tweag/fix-nix-env-qap

Update the golden hash of the evalNixpkgs test
This commit is contained in:
Eelco Dolstra 2024-03-08 09:44:16 +01:00 committed by GitHub
commit 4fda08d867
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -299,8 +299,11 @@
''
type -p nix-env
# Note: we're filtering out nixos-install-tools because https://github.com/NixOS/nixpkgs/pull/153594#issuecomment-1020530593.
(
set -x
time nix-env --store dummy:// -f ${nixpkgs-regression} -qaP --drv-path | sort | grep -v nixos-install-tools > packages
[[ $(sha1sum < packages | cut -c1-40) = ff451c521e61e4fe72bdbe2d0ca5d1809affa733 ]]
[[ $(sha1sum < packages | cut -c1-40) = e01b031fc9785a572a38be6bc473957e3b6faad7 ]]
)
mkdir $out
'';