summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/tls.scm25
1 files changed, 13 insertions, 12 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 56857ce1e4..b5926f35ad 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1156,18 +1156,19 @@ coding footprint.")
               (setenv "PATH" bash)
               (wrap-program "dehydrated"
                 `("PATH" ":" prefix
-                  ,(map (lambda (dir)
-                          (string-append dir "/bin"))
-                        (map (lambda (input)
-                               (assoc-ref %build-inputs input))
-                             '("coreutils"
-                               "curl"
-                               "diffutils"
-                               "gawk"
-                               "grep"
-                               "openssl"
-                               "sed"
-                               "util-linux-with-udev"))))))))))
+                  ,(map (lambda (file)
+                          (dirname (search-input-file %build-inputs file)))
+                        (list
+                         ;; From check_dependencies() — keep them in sync.
+                         "bin/grep"
+                         "bin/diff"
+                         "bin/sed"
+                         "bin/awk"
+                         "bin/curl"
+                         "bin/cut"      ; also mktemp, head, tail
+                         "bin/hexdump"
+                         ;; Additional requirements.
+                         "bin/openssl")))))))))
     (inputs
      (list bash
            coreutils