fetchzip: auto generate name from pname-version
This commit is contained in:
parent
252bc45709
commit
24268b64b0
|
@ -36,7 +36,7 @@ in
|
|||
fetchurl ((
|
||||
if (pname != "" && version != "") then
|
||||
{
|
||||
name = "${name}-${version}";
|
||||
name = "${pname}-${version}";
|
||||
inherit pname version;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue