mirror of
https://github.com/NixOS/nix.git
synced 2024-10-30 05:40:52 +00:00
Add more logs to the evalNixpkgs test
Make it possible to understand a mimimum what's going on in case of a failure
This commit is contained in:
parent
b3b312827c
commit
4354b37fc4
@ -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.
|
||||
time nix-env --store dummy:// -f ${nixpkgs-regression} -qaP --drv-path | sort | grep -v nixos-install-tools > packages
|
||||
[[ $(sha1sum < packages | cut -c1-40) = ff451c521e61e4fe72bdbe2d0ca5d1809affa733 ]]
|
||||
(
|
||||
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 ]]
|
||||
)
|
||||
mkdir $out
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user