From ae6643326a983d141fd8320a755181d21e5a1f2f Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Wed, 3 May 2023 21:41:05 -0400 Subject: 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. --- gnu/packages/wxwidgets.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gnu/packages/wxwidgets.scm') 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. -- cgit v1.2.3