lix/src
Matthew Bauer 1e3a9033b7 Use derivation output name from toDerivation
This was previously done in https://github.com/NixOS/nix/pull/4515 but
got clobbered away in https://github.com/NixOS/nix/pull/4594.

--------------------------------------------------------------------------------

This fixes an issue where derivations with a primary output that is
not "out" would fail with:

$ nix profile install nixpkgs#sqlite
error: opening directory '/nix/store/2a2ydlgyydly5czcc8lg12n6qqkfz863-sqlite-3.34.1-bin': No such file or directory

This happens because while derivations produce every output when
built, you might not have them if you didn't build the derivation
yourself (for instance, the store path was fetch from a binary cache).
This uses outputName provided from DerivationInfo which appears to
match the first output of the derivation.
2021-05-05 16:33:05 -05:00
..
build-remote Merge pull request #4477 from NixOS/ca/build-remote 2021-02-26 16:54:44 +01:00
cpptoml Revert the enum struct change 2020-06-18 22:11:26 +00:00
libcmd Revert "Make nix shell fallback to static outputs when needed" 2021-04-23 09:34:43 +02:00
libexpr Merge pull request #4751 from Ma27/storepath-pos 2021-04-27 19:05:23 +02:00
libfetchers Include sys/wait.h everywhere WIFEXITED etc is used 2021-04-19 18:31:58 +00:00
libmain restoreSignals() + restoreAffinity() -> restoreProcessContext() 2021-04-07 13:10:02 +02:00
libstore Fix the double-slash in the realisations path 2021-05-04 10:35:34 +02:00
libutil Remove makeDecompressionSource() 2021-04-22 10:23:20 +02:00
nix Use derivation output name from toDerivation 2021-05-05 16:33:05 -05:00
nix-build restoreSignals() + restoreAffinity() -> restoreProcessContext() 2021-04-07 13:10:02 +02:00
nix-channel Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-collect-garbage Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-copy-closure Use RealisedPaths in copyPaths 2021-02-25 17:18:48 +01:00
nix-env Rename Buildable 2021-04-05 09:52:25 -04:00
nix-instantiate Initialize plugins after handling initial command line flags 2021-02-24 08:22:17 -05:00
nix-store Rename Buildable 2021-04-05 09:52:25 -04:00
nlohmann Revert "Use upstream nlohmann_json" 2021-04-05 21:24:55 +01:00
resolve-system-dependencies Fix macOS build 2021-01-21 12:46:22 +01:00