Hello everyone,

With this patch, anyone wanting to use Guix on his Hurd system will no
longer need to pass the system type to configure.

If it's okay I will push it to core-updates.

Thank you,
Manolis
From b4aae91b25930b8f5cdb8af802e480eca8caf12e Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis...@gmail.com>
Date: Sat, 26 Mar 2016 16:53:40 +0200
Subject: [PATCH] build: Correctly determine the system type for GNU/Hurd
 systems.

* m4/guix.m4 (GUIX_SYSTEM_TYPE): Add case for gnu.
---
 m4/guix.m4 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/m4/guix.m4 b/m4/guix.m4
index 2d3dfd2..3396e05 100644
--- a/m4/guix.m4
+++ b/m4/guix.m4
@@ -74,6 +74,9 @@ AC_DEFUN([GUIX_SYSTEM_TYPE], [
        linux-gnu*)
 	  # For backward compatibility, strip the `-gnu' part.
 	  guix_system="$machine_name-linux";;
+       gnu*)
+          # When on Hurd, use i586 always.
+          guix_system="i586-gnu";;
        *)
 	  # Strip the version number from names such as `gnu0.3',
 	  # `darwin10.2.0', etc.
-- 
2.8.3

Reply via email to