pablodraw: prefer dotnetFlags over patching

This commit is contained in:
Gutyina Gergő
2025-03-17 19:47:00 +01:00
parent 0259c10406
commit 98871e7b8b
+4 -5
View File
@@ -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