aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-05-03 21:41:05 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-05-03 22:09:04 -0400
commitae6643326a983d141fd8320a755181d21e5a1f2f (patch)
tree41da659880803069c2c8620462e6089aad7d3216
parent679dcb403e31c4f7ebec0edbef1ed5690ae79cab (diff)
downloadguix-ae6643326a983d141fd8320a755181d21e5a1f2f.tar.gz
guix-ae6643326a983d141fd8320a755181d21e5a1f2f.zip
gnu: python-wxpython: Add a debug output
* gnu/packages/wxwidgets.scm (python-wxpython) [outputs]: New field. [arguments]: Provide the '--debug' build option in the configure phase.
-rw-r--r--gnu/packages/wxwidgets.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/wxwidgets.scm b/gnu/packages/wxwidgets.scm
index 130e695385..e6194e6f50 100644
--- a/gnu/packages/wxwidgets.scm
+++ b/gnu/packages/wxwidgets.scm
@@ -282,6 +282,7 @@ and many other languages.")
(delete-file-recursively "ext/wxWidgets")))
(patches (search-patches "python-wxwidgets-type-errors.patch"))))
(build-system python-build-system)
+ (outputs '("out" "debug"))
(arguments
(list
#:phases
@@ -290,7 +291,9 @@ and many other languages.")
(lambda* (#:key inputs #:allow-other-keys)
;; Configure the build options provided to the 'build.py' build
;; script.
- (setenv "WXPYTHON_BUILD_ARGS" "--use_syswx") ;use system wxwidgets
+ (setenv "WXPYTHON_BUILD_ARGS"
+ (string-join '("--debug" ;include debug symbols
+ "--use_syswx"))) ;use system wxwidgets
(setenv "WXWIN" #$(this-package-input "wxwidgets"))
;; Copy the waf executable to the source directory since it needs
;; to be in a writable directory.