me
/
guix
Archived
1
0
Fork 0

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'.
Simon Tournier 2023-02-21 02:00:18 +01:00 committed by Liliana Marie Prikler
parent 038981e128
commit 73b5c955ae
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 8 additions and 0 deletions

View File

@ -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