stdenv: set meta.{position,license,teams,identifiers.cpeParts}

Co-authored-by: Tristan Ross <tristan.ross@determinate.systems>
This commit is contained in:
Sigmanificient
2026-04-22 10:36:15 +02:00
co-authored by Tristan Ross
parent 47eba3b65c
commit d6a6df6661
+17 -4
View File
@@ -162,10 +162,23 @@ let
// {
meta = {
description = "The default build environment for Unix packages in Nixpkgs";
platforms = lib.platforms.all;
};
meta =
let
pos = builtins.unsafeGetAttrPos "name" argsStdenv;
in
{
description = "The default build environment for Unix packages in Nixpkgs";
platforms = lib.platforms.all;
position = "${pos.file}:${toString pos.line}";
teams = [ lib.teams.stdenv ];
license = lib.licenses.mit;
identifiers.cpeParts = {
part = "a";
vendor = "nixos";
product = argsStdenv.name;
inherit version;
};
};
inherit buildPlatform hostPlatform targetPlatform;