diff --git a/pkgs/applications/misc/prusa-slicer/super-slicer.nix b/pkgs/applications/misc/prusa-slicer/super-slicer.nix index 268e571b87d4..2d8e6ec35325 100644 --- a/pkgs/applications/misc/prusa-slicer/super-slicer.nix +++ b/pkgs/applications/misc/prusa-slicer/super-slicer.nix @@ -59,7 +59,7 @@ let # - wxScintilla is not used on macOS # - Partially applied upstream changes cause a bug when trying to link against a nonexistent libexpat postPatch = - super.postPatch + (super.postPatch or "") + '' substituteInPlace src/CMakeLists.txt \ --replace "scintilla" "" \