guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: python-pkgconfig: Fix path to find pkg-confi


From: guix-commits
Subject: branch master updated: gnu: python-pkgconfig: Fix path to find pkg-config.
Date: Tue, 08 Feb 2022 12:25:43 -0500

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

lfam pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2b677cff7d gnu: python-pkgconfig: Fix path to find pkg-config.
2b677cff7d is described below

commit 2b677cff7d3cbc28e9f7f5da41ae52d32da3a674
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Tue Feb 8 12:19:33 2022 -0500

    gnu: python-pkgconfig: Fix path to find pkg-config.
    
    * gnu/packages/python-xyz.scm (python-pkgconfig)[arguments]: Fix the
    substitution so the package refers to pkg-config.
---
 gnu/packages/python-xyz.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d7e816415d..537a2eef35 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15488,9 +15488,8 @@ CloudFront content delivery network.")
             ;; Hard-code the path to pkg-config.
             (lambda _
               (substitute* "pkgconfig/pkgconfig.py"
-                (("cmd = 'pkg-config")
-                 (string-append "cmd = '" (which "pkg-config"))))
-              #t))
+                (("'pkg-config'")
+                 (string-append "'" (which "pkg-config") "'")))))
           (replace 'check
             (lambda _
               (invoke "nosetests" "test.py"))))))



reply via email to

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