nixpkgs.metrics: --show-trace into the log
If the log is empty, it's difficult to debug problems. This case: https://github.com/NixOS/nixpkgs/pull/30252/files#r153038794
This commit is contained in:
parent
b3197e030c
commit
88ccc386f5
@ -19,7 +19,7 @@ runCommand "nixpkgs-metrics"
|
||||
shift
|
||||
|
||||
echo "running $@"
|
||||
NIX_SHOW_STATS=1 time "$@" > /dev/null 2> stats
|
||||
NIX_SHOW_STATS=1 time "$@" 2>&1 > /dev/null | tee stats
|
||||
|
||||
cat stats
|
||||
|
||||
@ -40,9 +40,12 @@ runCommand "nixpkgs-metrics"
|
||||
echo "$name.values $x" >> $out/nix-support/hydra-metrics
|
||||
}
|
||||
|
||||
run nixos.smallContainer nix-instantiate --dry-run ${nixpkgs}/nixos/release.nix -A closures.smallContainer.x86_64-linux
|
||||
run nixos.kde nix-instantiate --dry-run ${nixpkgs}/nixos/release.nix -A closures.kde.x86_64-linux
|
||||
run nixos.lapp nix-instantiate --dry-run ${nixpkgs}/nixos/release.nix -A closures.lapp.x86_64-linux
|
||||
run nixos.smallContainer nix-instantiate --dry-run ${nixpkgs}/nixos/release.nix \
|
||||
-A closures.smallContainer.x86_64-linux --show-trace
|
||||
run nixos.kde nix-instantiate --dry-run ${nixpkgs}/nixos/release.nix \
|
||||
-A closures.kde.x86_64-linux --show-trace
|
||||
run nixos.lapp nix-instantiate --dry-run ${nixpkgs}/nixos/release.nix \
|
||||
-A closures.lapp.x86_64-linux --show-trace
|
||||
run nix-env.qa nix-env -f ${nixpkgs} -qa
|
||||
run nix-env.qaDrv nix-env -f ${nixpkgs} -qa --drv-path --meta --xml
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user