diff options
-rw-r--r-- | gnu/packages/admin.scm | 10 |
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 |