NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.05k stars 1.47k forks source link

Nix-instantiate can spit out .drv!output but other tools can't consume it #1694

Open copumpkin opened 6 years ago

copumpkin commented 6 years ago

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.

cc @edolstra

Ma27 commented 4 years ago

This is still an issue with e.g. nix copy.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

Cloudef commented 1 year ago

This is very annoying