stdenv: provide meta.name
This commit is contained in:
parent
50148f0630
commit
fac3d49e48
@ -153,6 +153,7 @@ let
|
|||||||
|
|
||||||
# Weirder stuff that doesn't appear in the documentation?
|
# Weirder stuff that doesn't appear in the documentation?
|
||||||
knownVulnerabilities = listOf str;
|
knownVulnerabilities = listOf str;
|
||||||
|
name = str;
|
||||||
version = str;
|
version = str;
|
||||||
tag = str;
|
tag = str;
|
||||||
updateWalker = bool;
|
updateWalker = bool;
|
||||||
|
@ -201,6 +201,10 @@ rec {
|
|||||||
# passed to the builder and is not a dependency. But since we
|
# passed to the builder and is not a dependency. But since we
|
||||||
# include it in the result, it *is* available to nix-env for queries.
|
# include it in the result, it *is* available to nix-env for queries.
|
||||||
meta = {
|
meta = {
|
||||||
|
# `name` above includes cross-compilation cruft (and is under assert),
|
||||||
|
# lets have a clean always accessible version here.
|
||||||
|
inherit name;
|
||||||
|
|
||||||
# If the packager hasn't specified `outputsToInstall`, choose a default,
|
# If the packager hasn't specified `outputsToInstall`, choose a default,
|
||||||
# which is the name of `p.bin or p.out or 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`.
|
# if he has specified it, it will be overridden below in `// meta`.
|
||||||
|
Loading…
Reference in New Issue
Block a user