bicep: dont treat warnings as errors

Preventing build due to nuget warnings
This commit is contained in:
Austin Horstman
2024-06-16 11:04:25 -05:00
parent 24b048f70e
commit ae4ed9c045
+4
View File
@@ -18,6 +18,10 @@ buildDotnetModule rec {
hash = "sha256-7yEsxKUG2jhki1u5CObdjN4JMnEcAYR+SoGPaNJ+9Fs=";
};
postPatch = ''
substituteInPlace src/Directory.Build.props --replace-fail "<TreatWarningsAsErrors>true</TreatWarningsAsErrors>" ""
'';
projectFile = "src/Bicep.Cli/Bicep.Cli.csproj";
nugetDeps = ./deps.nix;