make-nuget-deps: use . for version separator

This allows the output to be used as a nuget source.
This commit is contained in:
David McFarland 2022-09-08 11:41:32 -03:00
parent f7237d996d
commit 4ec86553b1

View file

@ -4,7 +4,7 @@ linkFarmFromDrvs "${name}-nuget-deps" (nugetDeps {
fetchNuGet = { pname, version, sha256
, url ? "https://www.nuget.org/api/v2/package/${pname}/${version}" }:
fetchurl {
name = "${pname}-${version}.nupkg";
name = "${pname}.${version}.nupkg";
inherit url sha256;
};
})