diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-02-21 02:00:18 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-02-21 06:27:07 +0100 |
commit | 73b5c955ae46af2548625fe31afe60193fb83e2a (patch) | |
tree | ea28b8dc719e98fb7c0e04506b456e28402ae663 /gnu/packages | |
parent | 038981e1287fc97d3a5f19a2d9824e55247c228e (diff) | |
download | guix-73b5c955ae46af2548625fe31afe60193fb83e2a.tar.gz |
gnu: python-clingo: Fix invalid G-expression input.
* gnu/packages/maths.scm (python-clingo)[arguments]: Add 'imported-modules' and 'modules' in order to access to 'python:site-packages'. [version]: Explicitly reuse from the package 'clingo'.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/maths.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 1e40be8722..d32a6354ab 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2703,12 +2703,20 @@ satisfiability checking (SAT).") (package (inherit clingo) (name "python-clingo") + (version (package-version clingo)) ; for #$version in arguments (arguments (substitute-keyword-arguments (package-arguments clingo) ((#:configure-flags flags #~'()) #~(cons* "-DCLINGO_BUILD_WITH_PYTHON=pip" "-DCLINGO_USE_LIB=yes" #$flags)) + ((#:imported-modules _ '()) + `(,@%cmake-build-system-modules + (guix build python-build-system))) + ((#:modules _ '()) + '((guix build cmake-build-system) + ((guix build python-build-system) #:prefix python:) + (guix build utils))) ((#:phases phases #~%standard-phases) #~(modify-phases #$phases (add-after 'unpack 'fix-failing-tests |