guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/33: gnu: coreutils: Remove libcap dependency for the Hurd.


From: guix-commits
Subject: 15/33: gnu: coreutils: Remove libcap dependency for the Hurd.
Date: Tue, 10 Mar 2020 03:58:47 -0400 (EDT)

janneke pushed a commit to branch wip-hurd
in repository guix.

commit ae159bde64917511d345cd2e1dd1feabe5f73b72
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sat Mar 7 03:53:38 2020 -0500

    gnu: coreutils: Remove libcap dependency for the Hurd.
    
    * gnu/packages/base.scm (coreutils)[inputs]: Remove libcap for the Hurd.
---
 gnu/packages/base.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 9f1477b..4b347a7 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -304,7 +304,9 @@ used to apply commands with arbitrarily long arguments.")
 
              ;; Drop the dependency on libcap when cross-compiling since it's
              ;; not quite cross-compilable.
-             ,@(if (%current-target-system)
+             ;; Also, libcap is not available on the Hurd.
+             ,@(if (or (%current-target-system)
+                       (hurd-target?))
                    '()
                    `(("libcap" ,libcap)))))  ;capability support is 'ls', etc.
    (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]