aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-04-23 23:08:58 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-04-23 23:08:58 +0200
commit98a7242e174b4105c2505e9019ae10d906a9195f (patch)
treec5f12248dc8674a845940421fc5ac4f43f93f04b /gnu/packages/admin.scm
parentf8a564446a70b8aa50824cbc2c6a4077d831008b (diff)
downloadguix-98a7242e174b4105c2505e9019ae10d906a9195f.tar
guix-98a7242e174b4105c2505e9019ae10d906a9195f.tar.gz
gnu: nnn: Use PKG-CONFIG-FOR-TARGET.
* gnu/packages/admin.scm (nnn)[arguments]: Substitute PKG-CONFIG-FOR-TARGET for the equivalent STRING-APPEND.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d2ace7e776..e21debb06f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3618,10 +3618,7 @@ information tool.")
(lambda _
(substitute* "Makefile"
(("pkg-config")
- (or (which "pkg-config")
- (string-append ,(%current-target-system)
- "-pkg-config"))))
- #t)))
+ ,(pkg-config-for-target))))))
#:make-flags
(list
(string-append "PREFIX="