gnu: nnn: Use PKG-CONFIG-FOR-TARGET.

* gnu/packages/admin.scm (nnn)[arguments]: Substitute
PKG-CONFIG-FOR-TARGET for the equivalent STRING-APPEND.
This commit is contained in:
Tobias Geerinckx-Rice 2021-04-23 23:08:58 +02:00
parent f8a564446a
commit 98a7242e17
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -3618,10 +3618,7 @@ (define-public nnn
(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="