Unverified Commit 98871e7b authored by Gutyina Gergő's avatar Gutyina Gergő
Browse files

pablodraw: prefer dotnetFlags over patching

parent 0259c104
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -22,11 +22,6 @@ buildDotnetModule rec {
    hash = "sha256-p2YeWC3ZZOI5zDpgDmEX3C5ByAAjLxJ0CqFAqKeoJ0Q=";
  };

  postPatch = ''
    substituteInPlace ${projectFile} \
      --replace-warn '<EnableCompressionInSingleFile>True</EnableCompressionInSingleFile>' ""
  '';

  projectFile = "Source/PabloDraw/PabloDraw.csproj";

  executables = [ "PabloDraw" ];
@@ -36,6 +31,10 @@ buildDotnetModule rec {

  nugetDeps = ./deps.json;

  dotnetFlags = [
    "-p:EnableCompressionInSingleFile=false"
  ];

  nativeBuildInputs = [
    wrapGAppsHook3
    copyDesktopItems