3
0
Fork 0
forked from mirrors/nixpkgs

channel: add --show-trace to nix-env command

Otherwise, when this fails on Hydra, we have no way of seeing what
went wrong.
This commit is contained in:
Alyssa Ross 2023-02-03 23:02:47 +00:00
parent 9d75205879
commit 32d066dce3
No known key found for this signature in database
GPG key ID: F9DBED4859B271C0

View file

@ -23,7 +23,7 @@ pkgs.releaseTools.makeSourceTarball {
cp -prd . ../$releaseName
chmod -R u+w ../$releaseName
ln -s . ../$releaseName/nixpkgs # hack to make <nixpkgs> work
NIX_STATE_DIR=$TMPDIR nix-env -f ../$releaseName/default.nix -qaP --meta --xml \* > /dev/null
NIX_STATE_DIR=$TMPDIR nix-env -f ../$releaseName/default.nix -qaP --meta --show-trace --xml \* > /dev/null
cd ..
chmod -R u+w $releaseName
tar cfJ $out/tarballs/$releaseName.tar.xz $releaseName