guix_mirror_bot pushed a commit to branch master
in repository guix.

commit a77e6a62d5529d3a02b2b0c290a38402529e46c3
Author: Yelninei <[email protected]>
AuthorDate: Mon Sep 28 13:14:40 2026 +0000

    system: Fix 'guix system init' on the Hurd.
    
    This follows up to c62a39174e2cdc5d4efaa9c4940ea010d6dba184
    ("system: hurd-boot: Prepare for runsystem in Guile.").
    
    * guix/scripts/system.scm (install-os-drv): Remove hurd argument.
    * gnu/system/images/hurd.scm: Remove (gnu packages hurd) import.
    
    Fixes: https://codeberg.org/guix/guix/issues/11532
    Merges: https://codeberg.org/guix/guix/pulls/12128
    Signed-off-by: Nguyễn Gia Phong <[email protected]>
---
 gnu/system/images/hurd.scm | 1 -
 guix/scripts/system.scm    | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/gnu/system/images/hurd.scm b/gnu/system/images/hurd.scm
index c65a9c8f13d..3d3c24b8d3e 100644
--- a/gnu/system/images/hurd.scm
+++ b/gnu/system/images/hurd.scm
@@ -22,7 +22,6 @@
   #:use-module (gnu bootloader)
   #:use-module (gnu bootloader grub)
   #:use-module (gnu image)
-  #:use-module (gnu packages hurd)
   #:use-module (gnu packages ssh)
   #:use-module (guix platforms x86)
   #:use-module (gnu services)
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index 635011f89c3..29f1271ad1f 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -73,7 +73,6 @@
   #:use-module (gnu image)
   #:use-module (gnu system)
   #:use-module (gnu bootloader)
-  #:use-module (gnu packages hurd)
   #:use-module (gnu system file-systems)
   #:use-module (gnu system image)
   #:use-module (gnu system mapped-devices)
@@ -240,7 +239,7 @@ the ownership of '~a' may be incorrect!~%")
   (chmod target #o755)
   ;; For the Hurd to boot, it needs some essential device nodes.
   (when (target-hurd?)
-    (make-hurd-device-nodes #:hurd (in-vicinity hurd "hurd") #:root target))
+    (make-hurd-device-nodes #:root target))
   (let ((os-dir   (derivation->output-path os-drv))
         (format   (lift format %store-monad))
         (populate (lift2 populate-root-file-system %store-monad)))

Reply via email to