[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: isc-dhcp: Do not refer to canonical coreutil
From: |
guix-commits |
Subject: |
branch master updated: gnu: isc-dhcp: Do not refer to canonical coreutils. |
Date: |
Thu, 27 Aug 2020 09:53:23 -0400 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 17f168f gnu: isc-dhcp: Do not refer to canonical coreutils.
17f168f is described below
commit 17f168fcadcae78284d2b88accb4250a2e0d43fa
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu Aug 27 15:38:45 2020 +0200
gnu: isc-dhcp: Do not refer to canonical coreutils.
Make sure not to retain a reference to the canonical coreutils and sed
packages. The Guix System closure size would otherwise be increased by
including references to both canonical and non-canonical version of those
packages.
* gnu/packages/admin.scm (isc-dhcp)[inputs]: Add "coreutils" and "sed",
[arguments]: and use them, instead of their canonical counterpart.
---
gnu/packages/admin.scm | 12 ++++--------
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 61a98cc..5efe67b 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1042,10 +1042,10 @@ connection alive.")
;; if finds all the programs it needs.
(let* ((out (assoc-ref outputs "out"))
(libexec (string-append out "/libexec"))
- (coreutils (assoc-ref inputs "coreutils"))
+ (coreutils (assoc-ref inputs "coreutils*"))
(inetutils (assoc-ref inputs "inetutils"))
(net-tools (assoc-ref inputs "net-tools"))
- (sed (assoc-ref inputs "sed")))
+ (sed (assoc-ref inputs "sed*")))
(substitute* "client/scripts/linux"
(("/sbin/ip")
(string-append (assoc-ref inputs "iproute")
@@ -1085,12 +1085,8 @@ connection alive.")
(base32
"1j9a4r83a77mp8k1y8z524c9rzdqgd8rzwczd6zwmw86a00xiimg"))))
- ;; When cross-compiling, we need the cross Coreutils and sed.
- ;; Otherwise just use those from %FINAL-INPUTS.
- ,@(if (%current-target-system)
- `(("coreutils" ,coreutils)
- ("sed" ,sed))
- '())))
+ ("coreutils*" ,coreutils)
+ ("sed*" ,sed)))
(home-page "https://www.isc.org/products/DHCP/")
(synopsis "Dynamic Host Configuration Protocol (DHCP) tools")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: isc-dhcp: Do not refer to canonical coreutils.,
guix-commits <=