stdenv: add pname and version

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues
2026-02-03 15:23:30 +11:00
parent f87d02ce0c
commit 868165d920
+3 -1
View File
@@ -4,6 +4,8 @@ let
argsStdenv@{
name ? "stdenv",
pname ? name,
version ? lib.trivial.version,
preHook ? "",
initialPath,
@@ -102,7 +104,7 @@ let
outputHashMode = "recursive";
}
// {
inherit name;
inherit name pname version;
inherit disallowedRequisites;
# Nix itself uses the `system` field of a derivation to decide where to