I tried for example nix-store -q --references $(nix-instantiate ... -A attr-that-returns-non-default-output) and nix-store complains that the blahblah.drv!bin is not valid. I can trim off the !bin part but it hinders composability of the subcommands if one tool outputs stuff that a different tool doesn't understand.
I tried for example
nix-store -q --references $(nix-instantiate ... -A attr-that-returns-non-default-output)
andnix-store
complains that theblahblah.drv!bin
is not valid. I can trim off the!bin
part but it hinders composability of the subcommands if one tool outputs stuff that a different tool doesn't understand.cc @edolstra