baget: fix package restore errors

This commit is contained in:
David McFarland 2022-09-26 09:41:55 -03:00
parent 9a94932f38
commit b9f528897f

View File

@ -11,6 +11,15 @@ buildDotnetModule rec {
sha256 = "S/3CjXB/fBDzxLuQBQB3CKgEkmzUA8ZzzvzXLN8hfBU=";
};
postPatch = ''
# this fixes NU1605 errors
substituteInPlace \
src/BaGet.Azure/BaGet.Azure.csproj \
--replace \
'Include="Microsoft.Azure.Cosmos.Table" Version="1.0.0"' \
'Include="Microsoft.Azure.Cosmos.Table" Version="2.0.0-preview"'
'';
projectFile = "src/BaGet/BaGet.csproj";
nugetDeps = ./deps.nix;