summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2022-11-01 23:59:08 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2022-11-02 17:30:43 +0100
commit6de705f259066864ca8c4b5e000a3c8461e3b0a4 (patch)
tree2d116f3f0f0ea469351eb967c6f2e7882da89bdc /gnu
parent853b49c4192b75fca8775920c2db88a0e395da7c (diff)
downloadguix-6de705f259066864ca8c4b5e000a3c8461e3b0a4.tar.gz
gnu: isc-dhcp: Add grep input.
The grep program is required by the dhclient script.

* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add grep.
  [arguments]: Add grep to wrapping in 'post-install' phase.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 1a88f1e9a7..7b0f5916fa 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1471,6 +1471,7 @@ connection alive.")
                       (libexec   (string-append out "/libexec"))
                       (coreutils (assoc-ref inputs "coreutils*"))
                       (inetutils (assoc-ref inputs "inetutils"))
+                      (grep      (assoc-ref inputs "grep*"))
                       (net-tools (assoc-ref inputs "net-tools"))
                       (sed       (assoc-ref inputs "sed*")))
                  (substitute* "client/scripts/linux"
@@ -1487,7 +1488,7 @@ connection alive.")
                      ,(map (lambda (dir)
                              (string-append dir "/bin:"
                                             dir "/sbin"))
-                           (list inetutils net-tools coreutils sed))))))))))
+                           (list inetutils net-tools coreutils grep sed))))))))))
 
       (native-inputs
        (list config perl file))
@@ -1511,6 +1512,7 @@ connection alive.")
                       "1zsszgxs9043dfpxb6xs1iwk9jg7nxkl5pbawj8dlshnxkkzp3hd"))))
 
                 ("coreutils*" ,coreutils)
+                ("grep*" ,grep)
                 ("sed*" ,sed)))
 
       (home-page "https://www.isc.org/dhcp/")