aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2022-02-08 12:19:33 -0500
committerLeo Famulari <leo@famulari.name>2022-02-08 12:25:08 -0500
commit2b677cff7d3cbc28e9f7f5da41ae52d32da3a674 (patch)
tree3929df7779aee26613daf866061f018c42b1e3ed /gnu
parent97b50ba171c4a06a8228f1f1f3b4ca208afcdb93 (diff)
downloadguix-2b677cff7d3cbc28e9f7f5da41ae52d32da3a674.tar.gz
guix-2b677cff7d3cbc28e9f7f5da41ae52d32da3a674.zip
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm5
1 files 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"))))))