omnisharp-roslyn: set runtime flag instead of patching project

This commit is contained in:
David McFarland 2022-09-12 22:00:24 -03:00
parent 507eff880d
commit f6cb288fff

View File

@ -29,8 +29,9 @@ let finalPackage = buildDotnetModule rec {
patchelf
];
dotnetRestoreFlags = [ "--runtime ${dotnetCorePackages.systemToDotnetRid stdenv.targetPlatform.system}" ];
dotnetInstallFlags = [ "--framework net6.0" ];
dotnetBuildFlags = [ "--framework net6.0" ];
dotnetBuildFlags = [ "--framework net6.0" "--no-self-contained" ];
dotnetFlags = [
# These flags are set by the cake build.
"-property:PackageVersion=${version}"