Subject: [bug#77912] [PATCH] gnu: prusa-slicer: Fix segfault on startup

From: Brian Kubisiak <[email-masked]>
Date: Fri, 18 Apr 2025 20:29:04 -0700

* gnu/packages/wxwidgets.scm (prusa-wxwidgets): Inherit arguments and
inputs from wxwidgets-sans-egl.

Change-Id: If0f7df1fadba30de3e4da043cac90c3e7b7c830c
---
 gnu/packages/wxwidgets.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 7bbdafeb89c..9ff3526741d 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -305,10 +305,10 @@ (define-public prusa-wxwidgets
          (sha256
           (base32
            "1xk6w7q4xv4cj906xa5dwam5q51mc8bszbkkz7l8d3wjmsz73rwv"))))
-      (native-inputs (modify-inputs (package-native-inputs wxwidgets)
+      (native-inputs (modify-inputs (package-native-inputs wxwidgets-sans-egl)
                        (prepend nanosvg)))
       (arguments
-       (substitute-keyword-arguments (package-arguments wxwidgets)
+       (substitute-keyword-arguments (package-arguments wxwidgets-sans-egl)
          ((#:phases phases)
           #~(modify-phases #$phases
               (add-after 'unpack 'copy-nanosvg-source

base-commit: a4a7ff0319c622cd08aa7461cc88cc6608fe62cb
-- 
2.49.0