Commit 763f17cc authored by Adam Dinwoodie's avatar Adam Dinwoodie
Browse files

super-slicer: handle missing postPatch

When overriding the postPatch attribute from prusa-slicer, handle the
scenario where prusa-slicer doesn't have a postPatch attribute, as well
as the scenario where it does.
parent 92d5a750
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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" "" \