1ddabe1a01
'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. |
||
---|---|---|
.. | ||
build-dry.sh | ||
build-with-garbage-path.sh | ||
build.sh | ||
common.sh | ||
concurrent-builds.sh | ||
config.nix.in | ||
content-addressed.nix | ||
duplicate-realisation-in-closure.sh | ||
flake.nix | ||
gc.sh | ||
import-derivation.sh | ||
nix-copy.sh | ||
nix-run.sh | ||
nix-shell.sh | ||
nondeterministic.nix | ||
post-hook.sh | ||
racy.nix | ||
recursive.sh | ||
repl.sh | ||
selfref-gc.sh | ||
signatures.sh | ||
substitute.sh |