tvl-depot/tools
zseri 536f7c134a feat(depot-scanner): forward non-processed stderr output
previously, depot-scanner swallowed/ignored all non-processed
stderr output of nix-instantiate, which makes diagnosing
failures of nix-instantiate (e.g. failed with exit status 1)
difficult. This commit fixes that by always forwarding
the remaining stderr messages.

Example previous error message:

  panic: nix-instantiate failed: exit status 1

  goroutine 1 [running]:
  main.main()
	/nix/store/8vb2j13bd7j5ipl7dhsnwvgr7nrrsqsi-main.go:160 +0xeb4

Example new error message:

  nix-inst> error: unrecognised flag '--trace-file-access'
  nix-inst> Try '/run/current-system/sw/bin/nix-instantiate --help' for more information.
  panic: nix-instantiate failed: exit status 1

  goroutine 1 [running]:
  main.main()
	/nix/store/qy7v79a3harddirzmc0432vbzqhyf91i-main.go:165 +0xeb4

Change-Id: I666f3490fc648f77a5384b95edd74f6115f7920d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4553
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
2021-12-25 05:19:14 +00:00
..
cheddar feat(tools/cheddar): shortlink depot revisions 2021-12-18 19:16:47 +00:00
depot-scanner feat(depot-scanner): forward non-processed stderr output 2021-12-25 05:19:14 +00:00
emacs-pkgs fix(tvl.el): Change prompt for different commands 2021-12-21 10:28:22 +00:00
magrathea fix(tools/magrathea): prevent trailing slash for // in path 2021-12-18 20:23:35 +00:00
nsfv-setup refactor(third_party): Consistent use of depot.third_party vs. pkgs 2021-04-10 11:48:55 +00:00
rust-crates-advisory refactor(readTree): Move 'drvTargets' into readTree 2021-11-23 14:42:08 +00:00
tvlc fix(tvlc): Do not call mkDerivation in default.nix 2020-08-26 23:49:32 +00:00
depot-build.nix fix(tools/depot-build): handle multiple levels of subdirectories 2020-08-05 22:31:47 +00:00
depot-nixpkgs-update.nix chore(3p): bump NixOS channels to 2021-12-15 2021-12-15 17:43:52 +00:00
depotfmt.nix feat(depotfmt): run formatting checks in CI 2021-12-24 19:26:00 +00:00
eprintf.nix feat(tools): add rust-crates-advisory 2021-05-17 23:00:57 +00:00
gerrit-cli.nix fix(gerrit-cli): don't output the path to SSH if it's on the path 2020-06-21 23:49:30 +00:00
gerrit-update.nix feat(gerrit-update): Add helper script for updating Gerrit schema 2020-11-29 11:50:58 +00:00
hash-password.nix chore(nixpkgs): Bump channels to 2021-05-25 2021-05-25 17:09:28 +00:00
perf-flamegraph.nix fix(tools/perf-flamegraph): Get rid of most 'unknown's 2020-07-16 00:37:29 +00:00