python3Packages.clr-loader: fix build

NuGet.targets(174,5): error : '0.2.7.post0' is not a valid version string. (Parameter 'value')

Fixes: 91df8eec762aa81eb0aff58e7f94ac3dfe8f37b6

+7
+7
pkgs/development/python-modules/clr-loader/default.nix
··· 20 hash = "sha256-t6iz+PuxvLu2OC2IfiHRdC1PELXqIJ5K2VVo/pfhx8Y="; 21 }; 22 patches = [ ./dotnet-8-upgrade.patch ]; 23 24 # This buildDotnetModule is used only to get nuget sources, the actual 25 # build is done in `buildPythonPackage` below. ··· 29 version 30 src 31 patches 32 ; 33 projectFile = [ 34 "netfx_loader/ClrLoader.csproj" ··· 44 version 45 src 46 patches 47 ; 48 49 format = "pyproject";
··· 20 hash = "sha256-t6iz+PuxvLu2OC2IfiHRdC1PELXqIJ5K2VVo/pfhx8Y="; 21 }; 22 patches = [ ./dotnet-8-upgrade.patch ]; 23 + # This stops msbuild from picking up $version from the environment 24 + postPatch = '' 25 + echo '<Project><PropertyGroup><Version/></PropertyGroup></Project>' > \ 26 + Directory.Build.props 27 + ''; 28 29 # This buildDotnetModule is used only to get nuget sources, the actual 30 # build is done in `buildPythonPackage` below. ··· 34 version 35 src 36 patches 37 + postPatch 38 ; 39 projectFile = [ 40 "netfx_loader/ClrLoader.csproj" ··· 50 version 51 src 52 patches 53 + postPatch 54 ; 55 56 format = "pyproject";