From 62ea0a0d3a921a25593b2a8db97d744fd2c53c08 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sat, 9 Sep 2023 21:23:30 +0300 Subject: gnu: global: Fix ctags creation using pygments. * gnu/packages/code.scm (global)[arguments]: Adjust configure-flags to use a specific python interpreter. --- gnu/packages/code.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm index 9cdda2b751..1c21ad475b 100644 --- a/gnu/packages/code.scm +++ b/gnu/packages/code.scm @@ -200,6 +200,10 @@ (define-public global ; a global variable (string-append "--with-universal-ctags=" #$(this-package-input "universal-ctags") "/bin/ctags") + ;; Otherwise this gets overridden in the 'configure phase. + (string-append "--with-python-interpreter=" + #$(this-package-input "python-wrapper") + "/bin/python") (string-append "--sysconfdir=" #$output "/share/gtags") "--localstatedir=/var" ; This needs to be a writable location. -- cgit v1.2.3