Skip to content

Commit 98871e7

Browse files
committed
pablodraw: prefer dotnetFlags over patching
1 parent 0259c10 commit 98871e7

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pkgs/by-name/pa/pablodraw/package.nix

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ buildDotnetModule rec {
2222
hash = "sha256-p2YeWC3ZZOI5zDpgDmEX3C5ByAAjLxJ0CqFAqKeoJ0Q=";
2323
};
2424

25-
postPatch = ''
26-
substituteInPlace ${projectFile} \
27-
--replace-warn '<EnableCompressionInSingleFile>True</EnableCompressionInSingleFile>' ""
28-
'';
29-
3025
projectFile = "Source/PabloDraw/PabloDraw.csproj";
3126

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

3732
nugetDeps = ./deps.json;
3833

34+
dotnetFlags = [
35+
"-p:EnableCompressionInSingleFile=false"
36+
];
37+
3938
nativeBuildInputs = [
4039
wrapGAppsHook3
4140
copyDesktopItems

0 commit comments

Comments
 (0)