mirror of
git://git.savannah.gnu.org/guix.git
synced 2023-12-14 03:33:07 +01:00
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.
This commit is contained in:
parent
97b50ba171
commit
2b677cff7d
1 changed files with 2 additions and 3 deletions
|
@ -15488,9 +15488,8 @@ CloudFront content delivery network.")
|
||||||
;; Hard-code the path to pkg-config.
|
;; Hard-code the path to pkg-config.
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "pkgconfig/pkgconfig.py"
|
(substitute* "pkgconfig/pkgconfig.py"
|
||||||
(("cmd = 'pkg-config")
|
(("'pkg-config'")
|
||||||
(string-append "cmd = '" (which "pkg-config"))))
|
(string-append "'" (which "pkg-config") "'")))))
|
||||||
#t))
|
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
(invoke "nosetests" "test.py"))))))
|
(invoke "nosetests" "test.py"))))))
|
||||||
|
|
Loading…
Reference in a new issue