Save full version in hpckit packages

Reviewed-by: Rodrigo Arias Mallo <rodrigo.arias@bsc.es>
This commit is contained in:
2026-03-20 16:48:46 +01:00
parent 2d90a92e69
commit f15b272c41
3 changed files with 26 additions and 18 deletions

View File

@@ -136,14 +136,15 @@ let
};
};
kit = fromTOML (readFile ./packages.toml);
in
mapAttrs (
name: value:
patchIntel {
unpatched = extractKit (lib.getName name) (lib.getVersion name) value;
unpatched = extractKit "hpckit" kit.meta.${name}.version value;
components = components.${name};
}
) (fromTOML (readFile ./packages.toml))
) (removeAttrs kit [ "meta" ])
// {
inherit patchIntel extractKit;
inherit patchIntel extractKit kit;
}