me
/
guix
Archived
1
0
Fork 0

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.
master
Leo Famulari 2022-02-08 12:19:33 -05:00
parent 97b50ba171
commit 2b677cff7d
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 2 additions and 3 deletions

View File

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