guix_mirror_bot pushed a commit to branch hurd-team
in repository guix.

commit 9865c26ebc7400fbc27f8a302b2a50c2a3027d0d
Author: Yelninei <[email protected]>
AuthorDate: Mon Feb 16 12:20:03 2026 +0000

    gnu: hurd-headers: Remove unused let binding.
    
    * gnu/packages/hurd.scm (hurd-headers): Remove let-binding.
    * gnu/packages/commencement.scm (gnu/packages/commencement.scm): Inherit
    version and source.
    
    Change-Id: Ib4500e499aab44a424f46fc4bfbf07b9964db2ab
---
 gnu/packages/commencement.scm |  14 ------
 gnu/packages/hurd.scm         | 112 +++++++++++++++++++++---------------------
 2 files changed, 55 insertions(+), 71 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 6d32307b06..9c6b61e18f 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2762,20 +2762,6 @@ memoized as a function of '%current-system'."
    (package
      (inherit hurd-headers)
      (name "hurd-headers-boot0")
-     (version "0.9.git20251029")
-     (source
-      (origin
-        (inherit (package-source hurd-headers))
-        (method
-         (git-fetch-from-tarball
-          (origin
-            (method url-fetch)
-            (uri (string-append
-                  "https://git.savannah.gnu.org/cgit/hurd/hurd.git/snapshot/";
-                  "hurd-" version ".tar.gz"))
-            (sha256
-             (base32
-              "0pjxh4qln8m7jznqlzsz81vi38chjv64jj9824dj7wkm36gxbn3a")))))))
      (native-inputs
       (list autoconf-boot0 automake-boot0 mig-boot0))
      (inputs '()))))
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 9db625b7a4..31b903c5fa 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -134,67 +134,65 @@ communication.")
       (license gpl2+))))
 
 (define-public hurd-headers
-  (let ((revision "5")
-        (commit "v0.9.git20251029"))
-    (package
-      (name "hurd-headers")
-      (version (string-drop commit 1))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://git.savannah.gnu.org/git/hurd/hurd.git";)
-                      (commit commit)))
-                (sha256
-                 (base32
-                  "09pi6ci375ivbjvxlgdqp6vpm47arfvlh325sr2a5dmwxhs9pnp9"))
-                (file-name (git-file-name name version))))
-      (build-system gnu-build-system)
-      (native-inputs
-       (list autoconf
-             automake
-             (if (%current-target-system)
-                 (cross-mig (%current-target-system))
-                 mig)))
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (replace 'install
-             (lambda _
-               (invoke "make" "install-headers" "no_deps=t")))
-           (delete 'build))
+  (package
+    (name "hurd-headers")
+    (version "0.9.git20251029")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://git.savannah.gnu.org/git/hurd/hurd.git";)
+                     (commit (string-append "v" version))))
+              (sha256
+               (base32
+                "09pi6ci375ivbjvxlgdqp6vpm47arfvlh325sr2a5dmwxhs9pnp9"))
+              (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (native-inputs
+     (list autoconf
+           automake
+           (if (%current-target-system)
+               (cross-mig (%current-target-system))
+               mig)))
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (lambda _
+             (invoke "make" "install-headers" "no_deps=t")))
+         (delete 'build))
 
-         #:configure-flags '( ;; Reduce set of dependencies.
-                             "--without-parted"
-                             "--disable-ncursesw"
-                             "--disable-test"
-                             "--without-libbz2"
-                             "--without-libcrypt"
-                             "--without-libz"
-                             "--without-rump"
-                             ;; Skip the clnt_create check because it expects
-                             ;; a working glibc causing a circular dependency.
-                             "ac_cv_search_clnt_create=no"
+       #:configure-flags '( ;; Reduce set of dependencies.
+                           "--without-parted"
+                           "--disable-ncursesw"
+                           "--disable-test"
+                           "--without-libbz2"
+                           "--without-libcrypt"
+                           "--without-libz"
+                           "--without-rump"
+                           ;; Skip the clnt_create check because it expects
+                           ;; a working glibc causing a circular dependency.
+                           "ac_cv_search_clnt_create=no"
 
-                             ;; Annihilate the checks for the 'file_exec_paths'
-                             ;; & co. libc functions to avoid "link tests are
-                             ;; not allowed after AC_NO_EXECUTABLES" error.
-                             "ac_cv_func_file_exec_paths=no"
-                             "ac_cv_func_exec_exec_paths=no"
-                             "ac_cv_func__hurd_exec_paths=no"
-                             "ac_cv_func__hurd_libc_proc_init=no"
-                             "ac_cv_func_mach_port_set_ktype=no"
-                             "ac_cv_func_file_futimens=no"
-                             "ac_cv_func_file_utimens=no"
-                             "ac_cv_lib_acpica_acpi_init=no")
+                           ;; Annihilate the checks for the 'file_exec_paths'
+                           ;; & co. libc functions to avoid "link tests are
+                           ;; not allowed after AC_NO_EXECUTABLES" error.
+                           "ac_cv_func_file_exec_paths=no"
+                           "ac_cv_func_exec_exec_paths=no"
+                           "ac_cv_func__hurd_exec_paths=no"
+                           "ac_cv_func__hurd_libc_proc_init=no"
+                           "ac_cv_func_mach_port_set_ktype=no"
+                           "ac_cv_func_file_futimens=no"
+                           "ac_cv_func_file_utimens=no"
+                           "ac_cv_lib_acpica_acpi_init=no")
 
-         #:tests? #f))
-      (supported-systems %hurd-systems)
-      (home-page "https://www.gnu.org/software/hurd/hurd.html";)
-      (synopsis "GNU Hurd headers")
-      (description
-       "This package provides C headers of the GNU Hurd, used to build the GNU 
C
+       #:tests? #f))
+    (supported-systems %hurd-systems)
+    (home-page "https://www.gnu.org/software/hurd/hurd.html";)
+    (synopsis "GNU Hurd headers")
+    (description
+     "This package provides C headers of the GNU Hurd, used to build the GNU C
 Library and other user programs.")
-      (license gpl2+))))
+    (license gpl2+)))
 
 (define-public hurd-minimal
   (package (inherit hurd-headers)

Reply via email to