mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05: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 @@ (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"))))))
|
||||
|
|
Loading…
Reference in a new issue