stdenv: clarify how outputsToInstall is chosen

See https://github.com/NixOS/nixpkgs/pull/14694/files#r60013871
This commit is contained in:
Nikolay Amiantov 2016-04-18 17:06:15 +03:00
parent 5ff40ddedf
commit d4794c3630

View File

@ -223,7 +223,7 @@ let
# include it in the result, it *is* available to nix-env for queries.
meta = { }
# If the packager hasn't specified `outputsToInstall`, choose a default,
# namely `lib.getBin p`;
# which is the name of `p.bin or p.out or p`;
# if he has specified it, it will be overridden below in `// meta`.
# Note: This default probably shouldn't be globally configurable.
# Services and users should specify outputs explicitly,