aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/admin.scm
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-05 13:51:37 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-05 18:29:55 +0200
commit49dd606f574b3e7aadea8d93818bfdc6f3de71cc (patch)
tree3d6018ed2b99744342506ca74729cf1726643962 /gnu/packages/admin.scm
parent1e1a274ffd5fdeb41b4c65a99cb333712c95b3f4 (diff)
downloadguix-49dd606f574b3e7aadea8d93818bfdc6f3de71cc.tar
guix-49dd606f574b3e7aadea8d93818bfdc6f3de71cc.tar.gz
gnu: nnn: Use #:make-flags over Makefile patching.
* gnu/packages/admin.scm (nnn)[arguments]: Remove 'patch-pkg-config phase. Set PKG_CONFIG in #:make-flags instead.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r--gnu/packages/admin.scm10
1 files changed, 3 insertions, 7 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 83e52963f1..a2e013ed03 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -3614,17 +3614,13 @@ information tool.")
`(#:tests? #f ; no tests
#:phases
(modify-phases %standard-phases
- (delete 'configure) ; no configure script
- (add-after 'unpack 'patch-pkg-config
- (lambda _
- (substitute* "Makefile"
- (("pkg-config")
- ,(pkg-config-for-target))))))
+ (delete 'configure)) ; no configure script
#:make-flags
(list
(string-append "PREFIX="
(assoc-ref %outputs "out"))
- (string-append "CC=" ,(cc-for-target)))))
+ (string-append "CC=" ,(cc-for-target))
+ (string-append "PKG_CONFIG=" ,(pkg-config-for-target)))))
(home-page "https://github.com/jarun/nnn")
(synopsis "Terminal file browser")
(description "@command{nnn} is a fork of @command{noice}, a blazing-fast