gnu: isc-dhcp: In native builds, refer to the final Coreutils and sed.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add Coreutils and sed only when (%current-target-system) is true.
This commit is contained in:
parent
ae5c6fca26
commit
dc34393569
|
@ -437,11 +437,15 @@ connection alive.")
|
||||||
|
|
||||||
(native-inputs `(("perl" ,perl)))
|
(native-inputs `(("perl" ,perl)))
|
||||||
|
|
||||||
;; Even Coreutils and sed are needed here in case we're cross-compiling.
|
(inputs `(("net-tools" ,net-tools)
|
||||||
(inputs `(("coreutils" ,coreutils)
|
("iproute" ,iproute)
|
||||||
("sed" ,sed)
|
|
||||||
("net-tools" ,net-tools)
|
;; When cross-compiling, we need the cross Coreutils and sed.
|
||||||
("iproute" ,iproute)))
|
;; Otherwise just use those from %FINAL-INPUTS.
|
||||||
|
,@(if (%current-target-system)
|
||||||
|
`(("coreutils" ,coreutils)
|
||||||
|
("sed" ,sed))
|
||||||
|
'())))
|
||||||
|
|
||||||
(home-page "http://www.isc.org/products/DHCP/")
|
(home-page "http://www.isc.org/products/DHCP/")
|
||||||
(synopsis "Dynamic Host Configuration Protocol (DHCP) tools")
|
(synopsis "Dynamic Host Configuration Protocol (DHCP) tools")
|
||||||
|
|
Loading…
Reference in New Issue