with an outdated nix-index DB and ended up with an SVG starting with
Warning: Nix-index database is older than 30 days
I think it's better to print these to stderr. There is one println to stdout left for the --print-package argument that I didn't change because I wasn't sure whether that belongs to stderr or stdout, so I left it for now.
With the prevoius behavior any warning being printed would break things when piping command output to files.
For example I tried running:
with an outdated nix-index DB and ended up with an SVG starting with
I think it's better to print these to stderr. There is one
println
to stdout left for the--print-package
argument that I didn't change because I wasn't sure whether that belongs to stderr or stdout, so I left it for now.