From: Manolis Ragkousis <manolis837@gmail.com>
To: Andreas Enge <andreas@enge.fr>
Cc: Guix-devel <Guix-devel@gnu.org>
Subject: Re: [PATCH 1/3] gnu: hurd: Add kernel-headers package.
Date: Sat, 1 Aug 2015 03:32:29 +0300 [thread overview]
Message-ID: <CAFtzXzNp5mO5v1HDLwz7MvQ=fsaczjOMX1yfUv7apeZBzUObOQ@mail.gmail.com> (raw)
In-Reply-To: <20150731184329.GA9986@debian>
[-- Attachment #1: Type: text/plain, Size: 85 bytes --]
Hello Andreas :-D
You were right, now it's much prettier!!
Updated patch.
Manolis
[-- Attachment #2: 0001-gnu-hurd-Add-kernel-headers-package.patch --]
[-- Type: text/x-patch, Size: 1976 bytes --]
From 7ad4b64b93ac558a2683609fd77d1156c98474ee Mon Sep 17 00:00:00 2001
From: Manolis Ragkousis <manolis837@gmail.com>
Date: Fri, 31 Jul 2015 15:26:17 +0300
Subject: [PATCH 1/3] gnu: hurd: Add kernel-headers package.
* gnu/packages/hurd.scm (kernel-headers): Add kernel-headers package.
---
gnu/packages/hurd.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index ae84362..d77e1ca 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 kernel-headers
+ (package
+ (name "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))))
--
2.5.0
next prev parent reply other threads:[~2015-08-01 0:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-31 18:11 [PATCH 1/3] gnu: hurd: Add kernel-headers package Manolis Ragkousis
2015-07-31 18:43 ` Andreas Enge
2015-08-01 0:32 ` Manolis Ragkousis [this message]
2015-08-01 15:32 ` Mark H Weaver
2015-08-09 14:45 ` Manolis Ragkousis
2015-08-10 21:57 ` Mark H Weaver
2015-08-10 21:59 ` Mark H Weaver
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFtzXzNp5mO5v1HDLwz7MvQ=fsaczjOMX1yfUv7apeZBzUObOQ@mail.gmail.com' \
--to=manolis837@gmail.com \
--cc=Guix-devel@gnu.org \
--cc=andreas@enge.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).