1
0
Fork 0
forked from lix-project/lix
lix/tests/ca
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 .

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
..
build-dry.sh Fix nix build --dry-run with CA derivations 2022-03-17 11:55:19 +01:00
build-with-garbage-path.sh Non-blocking garbage collector 2021-10-13 12:12:44 +02:00
build.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
common.sh tests: remove 'ca-references' feature 2022-04-21 10:06:39 +02:00
concurrent-builds.sh Allow running all the tests with the daemon 2021-07-27 17:06:11 +02:00
config.nix.in Add a test for nix run with CA derivations 2021-05-17 15:10:48 +02:00
content-addressed.nix nix: Respect meta.outputsToInstall, and use all outputs by default 2022-04-26 17:17:27 +02:00
duplicate-realisation-in-closure.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
flake.nix Add a test for nix run with CA derivations 2021-05-17 15:10:48 +02:00
gc.sh Allow running all the tests with the daemon 2021-07-27 17:06:11 +02:00
import-derivation.sh Fix IFD with CA derivations 2021-12-21 09:36:50 +01:00
nix-copy.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
nix-run.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
nix-shell.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
nondeterministic.nix Add a test for the “two glibc” issue 2021-06-23 11:18:31 +02:00
post-hook.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
racy.nix Properly lock the builds of CA derivations 2021-07-20 06:57:56 +02:00
recursive.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
repl.sh Fix nix repl’s building of CA derivations 2021-11-05 11:04:14 +01:00
selfref-gc.sh tests: remove 'ca-references' feature 2022-04-21 10:06:39 +02:00
signatures.sh tests/common.sh.in: Add enableFeatures helper 2022-03-02 21:48:25 +01:00
substitute.sh nix: Respect meta.outputsToInstall, and use all outputs by default 2022-04-26 17:17:27 +02:00