replaceVarsWith: Allow using pname + version

This commit is contained in:
klea
2026-07-24 14:28:46 +00:00
parent 99e8a23e99
commit ea676ee756
@@ -122,7 +122,8 @@ in
stdenvNoCC.mkDerivation (
{
name = baseNameOf src;
name =
if (attrs ? pname && attrs ? version) then "${attrs.pname}-${attrs.version}" else baseNameOf src;
}
// optionalAttrs
// forcedAttrs