replaceVarsWith: Allow using pname + version
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user