From ae4ed9c045afac5c07d862fd59933e8163afa4e8 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sun, 16 Jun 2024 10:55:12 -0500 Subject: [PATCH] bicep: dont treat warnings as errors Preventing build due to nuget warnings --- pkgs/by-name/bi/bicep/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/bi/bicep/package.nix b/pkgs/by-name/bi/bicep/package.nix index bdfdd74606fd..85b9a28bf71c 100644 --- a/pkgs/by-name/bi/bicep/package.nix +++ b/pkgs/by-name/bi/bicep/package.nix @@ -18,6 +18,10 @@ buildDotnetModule rec { hash = "sha256-7yEsxKUG2jhki1u5CObdjN4JMnEcAYR+SoGPaNJ+9Fs="; }; + postPatch = '' + substituteInPlace src/Directory.Build.props --replace-fail "true" "" + ''; + projectFile = "src/Bicep.Cli/Bicep.Cli.csproj"; nugetDeps = ./deps.nix;