guix-commits
[Top][All Lists]
Advanced

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

01/04: gnu: system: Add %base-packages/hurd.


From: guix-commits
Subject: 01/04: gnu: system: Add %base-packages/hurd.
Date: Sun, 29 Mar 2020 10:35:13 -0400 (EDT)

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

commit c53f7d5c7c08f17365c06deffb8bb2d2c0e8a7d0
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Sat Mar 7 10:37:53 2020 +0100

    gnu: system: Add %base-packages/hurd.
    
    * gnu/system.scm (%base-packages/hurd): New exported variable; many of the
    standard %base-packages do not build yet.
---
 gnu/system.scm | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

diff --git a/gnu/system.scm b/gnu/system.scm
index 3975082..7ea2c85 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2017 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2019 Meiyo Peng <address@hidden>
 ;;; Copyright © 2020 Danny Milosavljevic <address@hidden>
+;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -37,6 +38,7 @@
   #:use-module (gnu packages guile)
   #:use-module (gnu packages guile-xyz)
   #:use-module (gnu packages admin)
+  #:use-module (gnu packages hurd)
   #:use-module (gnu packages linux)
   #:use-module (gnu packages pciutils)
   #:use-module (gnu packages package-management)
@@ -142,6 +144,7 @@
             %setuid-programs
             %sudoers-specification
             %base-packages
+            %base-packages/hurd
             %base-firmware))
 
 ;;; Commentary:
@@ -605,6 +608,44 @@ of PROVENANCE-SERVICE-TYPE to its services."
 
          bash-completion
 
+         ;; XXX: We don't use (canonical-package guile-2.2) here because that
+         ;; would create a collision in the global profile between the GMP
+         ;; variant propagated by 'guile-final' and the GMP variant propagated
+         ;; by 'gnutls', itself propagated by 'guix'.
+         guile-3.0
+         guile-readline guile-colorized
+
+         ;; The packages below are also in %FINAL-INPUTS, so take them from
+         ;; there to avoid duplication.
+         (map canonical-package
+              (list bash coreutils findutils grep sed
+                    diffutils patch gawk tar gzip bzip2 xz lzip))))
+
+(define %base-packages/hurd
+  ;; Default set of packages globally visible: minimal variant for the Hurd.
+  (cons* procps psmisc which less zile nano
+         pciutils
+         util-linux
+         inetutils
+         ;; isc-dhcp  ;fails, its build recipe makes it hard to patch
+         (@ (gnu packages admin) shadow)          ;for 'passwd'
+
+         ;; man-db ;avoid huge closure for now
+         info-reader                     ;the standalone Info reader (no Perl)
+
+         ;; The 'sudo' command is already in %SETUID-PROGRAMS, but we also
+         ;; want the other commands and the man pages (notably because
+         ;; auto-completion in Emacs shell relies on man pages.)
+         ;; sudo ;avoid huge build closure for now
+
+         e2fsprogs
+
+         bash-completion
+
+         ;; XXX: We don't use (canonical-package guile-2.2) here because that
+         ;; would create a collision in the global profile between the GMP
+         ;; variant propagated by 'guile-final' and the GMP variant propagated
+         ;; by 'gnutls', itself propagated by 'guix'.
          guile-3.0
          guile-readline guile-colorized
 



reply via email to

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