diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-05-03 21:41:05 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-05-03 22:09:04 -0400 |
commit | ae6643326a983d141fd8320a755181d21e5a1f2f (patch) | |
tree | 41da659880803069c2c8620462e6089aad7d3216 | |
parent | 679dcb403e31c4f7ebec0edbef1ed5690ae79cab (diff) | |
download | guix-ae6643326a983d141fd8320a755181d21e5a1f2f.tar guix-ae6643326a983d141fd8320a755181d21e5a1f2f.tar.gz |
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.scm | 5 |
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. |