From 2105424303a99b0722d75145d3988b257af92058 Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis
Date: Tue, 22 Apr 2014 22:43:48 +0300 Subject: [PATCH] gnu: base: Add Hurd glibc headers. * gnu/packages/base.scm (glibc/hurd-headers): New variable. --- gnu/packages/base.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 09cbe89..cc5a697 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -508,6 +508,27 @@ with the Linux kernel.") (license lgpl2.0+) (home-page "http://www.gnu.org/software/libc/"))) +(define-public glibc/hurd-headers + (package (inherit glibc/hurd) + (name "glibc-hurd-headers") + (outputs `("out")) + (arguments + `(#:tests? #f + ,@(substitute-keyword-arguments (package-arguments glibc/hurd) + ((#:phases _) + '(alist-replace + 'install + (lambda _ + (zero? (system* "make" "install-headers" ))) + (alist-delete + 'build + (alist-cons-before + 'configure 'pre-configure + (lambda _ + (substitute* "configure" + (("/bin/pwd") "pwd"))) + %standard-phases))))))))) + (define-public tzdata (package (name "tzdata") -- 1.9.2