guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: python-clingo: Fix invalid G-expression inpu


From: guix-commits
Subject: branch master updated: gnu: python-clingo: Fix invalid G-expression input.
Date: Tue, 21 Feb 2023 00:29:54 -0500

This is an automated email from the git hooks/post-receive script.

lilyp pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 73b5c955ae gnu: python-clingo: Fix invalid G-expression input.
73b5c955ae is described below

commit 73b5c955ae46af2548625fe31afe60193fb83e2a
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Tue Feb 21 02:00:18 2023 +0100

    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'.
---
 gnu/packages/maths.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]