guix-commits
[Top][All Lists]
Advanced

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

13/20: gnu: hurd: Add hurd-kernel-headers package.


From: Manolis Fragkiskos Ragkousis
Subject: 13/20: gnu: hurd: Add hurd-kernel-headers package.
Date: Thu, 11 Feb 2016 13:40:43 +0000

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

commit 40e1f9496187b7bcf7bb06da69ee2b687c8a05fa
Author: Manolis Ragkousis <address@hidden>
Date:   Fri Jul 31 15:26:17 2015 +0300

    gnu: hurd: Add hurd-kernel-headers package.
    
    * gnu/packages/hurd.scm (hurd-kernel-headers): New variable.
---
 gnu/packages/hurd.scm |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 1e79197..560da4d 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -23,6 +23,7 @@
   #:use-module (gnu packages)
   #:use-module (guix utils)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system trivial)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages bison)
   #:use-module (gnu packages perl)
@@ -183,3 +184,28 @@ Library and other user programs.")
      "This package provides libihash, needed to build the GNU C
 Library for GNU/Hurd.")
     (license gpl2+)))
+
+(define-public hurd-kernel-headers
+  (package
+    (name "hurd-kernel-headers")
+    (version (package-version hurd-headers))
+    (source #f)
+    (build-system trivial-build-system)
+    (arguments
+     '(#:modules ((guix build union))
+       #:builder (begin
+                   (use-modules (ice-9 match)
+                                (guix build union))
+                   (match %build-inputs
+                     (((names . directories) ...)
+                      (union-build (assoc-ref %outputs "out")
+                                   directories))))))
+    (inputs `(("gnumach-headers" ,gnumach-headers)
+              ("hurd-headers" ,hurd-headers)
+              ("hurd-minimal" ,hurd-minimal)))
+    (synopsis "Union of the Hurd headers and libs")
+    (description
+     "A union of the Mach and Hurd headers and the Hurd-minimal package
+which are needed for both glibc and gcc")
+    (home-page (package-home-page hurd-headers))
+    (license (package-license hurd-headers))))



reply via email to

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