[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/33: gnu: hurd: Add hurd-system?.
From: |
guix-commits |
Subject: |
06/33: gnu: hurd: Add hurd-system?. |
Date: |
Tue, 10 Mar 2020 03:58:44 -0400 (EDT) |
janneke pushed a commit to branch wip-hurd
in repository guix.
commit d20cfd28b99b6ec53e64d73eba3e51581671ec28
Author: Jan Nieuwenhuizen <address@hidden>
AuthorDate: Mon Mar 9 13:35:01 2020 +0100
gnu: hurd: Add hurd-system?.
* gnu/packages/hurd.scm (hurd-system?): New exported variable.
---
gnu/packages/hurd.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index af59f22..59d5c31 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -35,8 +35,9 @@
#:use-module (gnu packages base)
#:use-module (gnu packages texinfo)
#:use-module (guix git-download)
- #:export (hurd-triplet?
- hurd-target?))
+ #:export (hurd-system?
+ hurd-target?
+ hurd-triplet?))
(define (hurd-triplet? triplet)
(and (string-suffix? "-gnu" triplet)
@@ -49,6 +50,10 @@ GNU/Hurd."
(and (not (%current-target-system))
(and=> (%current-system) hurd-triplet?))))
+(define (hurd-system?)
+ "Return true if the current system is the Hurd."
+ (and=> (%current-system) hurd-triplet?))
+
(define (hurd-source-url version)
(string-append "mirror://gnu/hurd/hurd-"
version ".tar.gz"))
- branch wip-hurd created (now c32b649), guix-commits, 2020/03/10
- 04/33: gnu: bootloader: Add grub-minimal-bootloader., guix-commits, 2020/03/10
- 03/33: gnu: Add grub-minimal., guix-commits, 2020/03/10
- 05/33: gnu: hurd: Fix hurd-target?., guix-commits, 2020/03/10
- 06/33: gnu: hurd: Add hurd-system?.,
guix-commits <=
- 07/33: gnu: java-jansi-native: Compile fix for the Hurd., guix-commits, 2020/03/10
- 08/33: gnu: make: Revert to 4.1 for the Hurd., guix-commits, 2020/03/10
- 01/33: gnu: flex-2.6.1: Build fix for the Hurd., guix-commits, 2020/03/10
- 11/33: gnu: glibc: Add and update patches for the Hurd., guix-commits, 2020/03/10
- 02/33: gnu: grub: Build fix for the Hurd., guix-commits, 2020/03/10
- 13/33: gnu: cross-libc: Build fix for the Hurd., guix-commits, 2020/03/10
- 17/33: gnu: pciutils: Build fix for the Hurd., guix-commits, 2020/03/10
- 25/33: gnu: commencement: hurd-headers-boot0: Build from tarball., guix-commits, 2020/03/10
- 27/33: gnu: commencement: glibc-intermediate: Build fixes for the Hurd., guix-commits, 2020/03/10
- 09/33: gnu: less: Build fix for the Hurd., guix-commits, 2020/03/10