unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH] coreutils: also install GNU hostname.
@ 2013-01-21 23:11 Cyril Roelandt
  2013-01-22 10:06 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Cyril Roelandt @ 2013-01-21 23:11 UTC (permalink / raw)
  To: bug-guix

* gnu/packages/base.scm: install hostname along with the other programs provided by coreutils.
---
Hello,

I needed GNU hostname, but could not find it in ~/.guix-profile/bin/,
even though I had previousy installed coreutils. This is because GNU
hostname is not automatically installed when compiling coreutils.

WBR,
Cyril Roelandt.

 gnu/packages/base.scm |    1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 4764039..c7af0d2 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -278,6 +278,7 @@ The tools supplied with this package are:
              ("perl" ,perl)))                     ; TODO: add SELinux
    (arguments
     `(#:parallel-build? #f            ; help2man may be called too early
+      #:configure-flags '("--enable-install-program=hostname")
       #:phases (alist-cons-before
                 'build 'patch-shell-references
                 (lambda* (#:key inputs #:allow-other-keys)
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] coreutils: also install GNU hostname.
  2013-01-21 23:11 [PATCH] coreutils: also install GNU hostname Cyril Roelandt
@ 2013-01-22 10:06 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2013-01-22 10:06 UTC (permalink / raw)
  To: Cyril Roelandt; +Cc: bug-guix

Hello!

Cyril Roelandt <tipecaml@gmail.com> skribis:

> I needed GNU hostname, but could not find it in ~/.guix-profile/bin/,
> even though I had previousy installed coreutils. This is because GNU
> hostname is not automatically installed when compiling coreutils.

TIMTOWDI: you can get it from GNU Inetutils instead.  :-)

So I’d leave Coreutils as is, esp. since changing it entails a full rebuild.

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-22 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-21 23:11 [PATCH] coreutils: also install GNU hostname Cyril Roelandt
2013-01-22 10:06 ` Ludovic Courtès

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).