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

View file

@ -15488,9 +15488,8 @@ (define-public python-pkgconfig
;; 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"))))))