Re: [PATCH] coreutils: fix test suite

2014-03-07 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * gnu/packages/patches/coreutils-skip-nohup.patch: patch taken from the git repository of coreutils, that makes sure tests/misc/nohup.sh does not fail when /dev/tty does not exist. * gnu/packages/base.scm (coreutils): use it. * gnu-system.am

Re: [PATCH 1/5] gnu: Enable the 'ctypes' module in Python.

2014-03-07 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * gnu/packages/python.scm (python-2): add libffi to the inputs and use it to build the ctypes module. OK to push. Ludo’.

Re: [PATCH 2/5] gnu: Python: use /nix/.../sh if /bin/sh cannot be found

2014-03-07 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * gnu/packages/python.scm (python-2): patch Lib/subprocess.py to use /nix/.../sh when /bin/sh is not available (most of the time, in Guix chroot) --- gnu/packages/python.scm | 19 ++- 1 file changed, 18 insertions(+), 1

Re: [PATCH 4/5] gnu: Python: bump to 3.3.4

2014-03-07 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * gnu/packages/python.scm (python): bump to 3.3.4 OK to push. Ludo’.

Re: [PATCH 5/5] gnu: remove python-fix-dbm.patch

2014-03-07 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * gnu/packages/patches/python-fix-dbm.patch: remove file. It is not needed anymore, and is probably a left-over of a failed merge. * gnu-system.am: remove gnu/packages/patches/python-fix-dbm.patch OK to push. Ludo’.

Re: Want help with writing package recipe

2014-03-07 Thread Nikita Karetnikov
I used guix hash -f base32 to export the base32 hash, which is: i5q225g6twsg5egicgpt6ub7hn4m7pdzg56hwxx57jm4o4ns5fgq You need ‘nix-base32’, which is the default format, so use ‘guix hash’. I've written a recipe for gtypist located here: http://pastebin.com/ysLHJUWg Please include

Re: [PATCH 3/5] gnu: Enable tests in Python 3.

2014-03-07 Thread Ludovic Courtès
Cyril Roelandt tipec...@gmail.com skribis: * gnu/packages/python.scm: enable tests for Python 3 * gnu/packages/python-fix-tests.patch: New file. * gnu/packages/gnu-sysem.am (dist_patch_DATA): add it. Typo here. diff --git a/gnu/packages/patches/python-fix-tests.patch

Re: Binary downloads

2014-03-07 Thread Pjotr Prins
Ah, that makes sense... It is using /nix/store now. If you are using the git version, Ludo has made some changes to the hydra server which serves the binary package downloads. Due to these you have to configure guix with `--with-store-dir=/gnu/store` to be able to get the binaries.

Re: Binary downloads

2014-03-07 Thread Andreas Enge
On Fri, Mar 07, 2014 at 02:47:59PM +0100, Pjotr Prins wrote: How do I get binary downloads to work? Or is my base system already different from what is on the farm? I think the machine serving them (hydra.gnu.org) is offline right now. It should be back some time in the future... Andreas

Re: Binary downloads

2014-03-07 Thread Pjotr Prins
Hmmm. Running the git repo with store set to /gnu/nix does not make a difference. Guix still wants to build everything. I also kind of miss a step by step description. guix package --install=hello --dry-run accepted connection from pid 14415, uid 502 The following package would be installed:

Re: Installing Guix

2014-03-07 Thread Ludovic Courtès
Xue Fuqiao x...@gnu.org skribis: ‘/home/xfq/guix/nix-upstream/AUTHORS’ - ‘/home/xfq/guix/nix/AUTHORS’ sed: -e expression #1, char 8: extra characters after command There are two sed invocations in nix/sync-with-upstream. Could you add ‘set -x’ in that script to see which one is failing? What

Re: [PATCH] gnu: Add a2ps, trueprint, enscript, and source-highlight

2014-03-07 Thread Eric Bavier
l...@gnu.org (Ludovic Courtès) writes: Could you add one or two lines saying what the patch is about and point to the upstream commit or discussion? OK to push with this change. Pushed with an small patch explanation. Thanks. -- `~Eric

Re: Binary downloads

2014-03-07 Thread Pjotr Prins
Never a bed of roses... OK then. I'll build on a server instead. Is there a howto on creating your own 'remote' package cache? And does Guix hashing ignore kernel versions? The server has Linux version 2.6.32-431.3.1.el6.x86_64 (mockbu...@c6b10.bsys.dev.centos.org) (gcc version 4.4.7

Re: Binary downloads

2014-03-07 Thread Pjotr Prins
In fact, if I set verbosity I get guix package --install=hello --dry-run --verbosity=9 accepted connection from pid 15646, uid 502 acquiring global GC lock `/usr/local/var/nix/gc.lock' acquiring read lock on `/usr/local/var/nix/temproots/15648' acquiring write lock on

Re: Binary downloads

2014-03-07 Thread Andreas Enge
On Fri, Mar 07, 2014 at 05:21:54PM +0100, Pjotr Prins wrote: OK then. I'll build on a server instead. Is there a howto on creating your own 'remote' package cache? And does Guix hashing ignore kernel versions? The server has There is no need to install a separate server. If you wish to install

Re: Binary downloads

2014-03-07 Thread Sree Harsha Totakura
On 03/07/2014 05:46 PM, Pjotr Prins wrote: Sorry, I was not clear. I do not want to build on my laptop (the noise drives me nuts :). So I want to build on a remote server and install on my laptop, or on compute nodes, or whatever. With Nix it is possible. Does Guix allow caching of packages,

Re: Binary downloads

2014-03-07 Thread Ludovic Courtès
Pjotr Prins pjotr.publi...@thebird.nl skribis: On Fri, Mar 07, 2014 at 05:43:29PM +0100, Andreas Enge wrote: On Fri, Mar 07, 2014 at 05:21:54PM +0100, Pjotr Prins wrote: OK then. I'll build on a server instead. Is there a howto on creating your own 'remote' package cache? And does Guix

Re: Binary downloads

2014-03-07 Thread Pjotr Prins
On Fri, Mar 07, 2014 at 06:48:54PM +0100, Ludovic Courtès wrote: Guix can use ???substitutes??? (binaries) from Hydra, just like Nix does. Alternately (but I???m not sure that???s what you???re asking for), it has support to offload builds to remote machines over SSH (info (guix) Daemon

Re: [PATCH] gnu: Add a2ps, trueprint, enscript, and source-highlight

2014-03-07 Thread Ludovic Courtès
Eric Bavier ericbav...@gmail.com skribis: +(define-public source-highlight + (package +(name source-highlight) +(version 3.1.7) +(source + (origin + (method url-fetch) + (uri (string-append mirror://gnu/src-highlite/source-highlight- +