lix/src/libcmd
Eelco Dolstra 1ddabe1a01 nix: Respect meta.outputsToInstall, and use all outputs by default
'nix profile install' will now install all outputs listed in the
package's meta.outputsToInstall attribute, or all outputs if that
attribute doesn't exist. This makes it behave consistently with
nix-env. Fixes #6385.

Furthermore, for consistency, all other 'nix' commands do this as
well. E.g. 'nix build' will build and symlink the outputs in
meta.outputsToInstall, defaulting to all outputs. Previously, it only
built/symlinked the first output. Note that this means that selecting
a specific output using attrpath selection (e.g. 'nix build
nixpkgs#libxml2.dev') no longer works. A subsequent PR will add a way
to specify the desired outputs explicitly.
2022-04-26 17:17:27 +02:00
..
command.cc don't use full Pos for findPackageFilename/editorFor 2022-04-21 21:25:18 +02:00
command.hh don't use full Pos for findPackageFilename/editorFor 2022-04-21 21:25:18 +02:00
common-eval-args.cc Add shell completion for --override-flake 2022-03-07 12:01:54 +01:00
common-eval-args.hh Add shell completion for --override-flake 2022-03-07 12:01:54 +01:00
installables.cc nix: Respect meta.outputsToInstall, and use all outputs by default 2022-04-26 17:17:27 +02:00
installables.hh nix: Respect meta.outputsToInstall, and use all outputs by default 2022-04-26 17:17:27 +02:00
legacy.cc Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
legacy.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
local.mk use LOWDOWN_LIBS variable 2022-01-30 20:59:58 +02:00
markdown.cc Use latest lowdown 2021-09-24 15:22:51 +02:00
markdown.hh Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00
nix-cmd.pc.in Move command plugin interface to libnixcmd 2021-01-26 06:22:24 -05:00