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.
This commit is contained in:
Guillaume Le Vaillant 2022-11-01 23:59:08 +01:00
parent 853b49c419
commit 6de705f259
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -1471,6 +1471,7 @@ (define-public isc-dhcp
(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 @@ (define-public isc-dhcp
,(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 @@ (define-public isc-dhcp
"1zsszgxs9043dfpxb6xs1iwk9jg7nxkl5pbawj8dlshnxkkzp3hd"))))
("coreutils*" ,coreutils)
("grep*" ,grep)
("sed*" ,sed)))
(home-page "https://www.isc.org/dhcp/")