about summary refs log tree commit diff
path: root/nixos/lib
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-02-03 23:02:47 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-03 23:02:47 +0000
commit32d066dce3e443459148fcd003927f00362d8f26 (patch)
tree4df0e6a7557799cc6235bcf0a06881f02e269253 /nixos/lib
parent9d75205879f46a25c0a9d6ca97bf9be02c1af1de (diff)
channel: add --show-trace to nix-env command
Otherwise, when this fails on Hydra, we have no way of seeing what
went wrong.
Diffstat (limited to 'nixos/lib')
-rw-r--r--nixos/lib/make-channel.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/make-channel.nix b/nixos/lib/make-channel.nix
index 9b920b989fcf3..0a511468fb2db 100644
--- a/nixos/lib/make-channel.nix
+++ b/nixos/lib/make-channel.nix
@@ -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