Re: Invalid nar signature

2014-12-14 Thread David Thompson
David Thompson writes: > The output of the following code in the context of the > (guix serialization) module is "\r", it should be "nix-archive-1": > > (with-input-from-file "some-nar-file" > (lambda () > (read-string (current-input-port Also, note that the following code *does*

Invalid nar signature

2014-12-14 Thread David Thompson
Hello everyone, While working on a new guix command, called 'guix publish', I've run into a snag. The archives I've exported via export-paths in the (guix store) module are rejected by 'guix substitute-binary' due to the nar signature being invalid. The signature is a string containing "nix-arch

Re: 01/01: gnu: python-numpy-bootstrap: Reduce matrix size in failing test.

2014-12-14 Thread Ludovic Courtès
Federico Beffa skribis: > +(alist-cons-before > + 'check 'fix-failing-tests > + (lambda _ > + (substitute* (find-files "numpy/linalg/tests" > +"test_regression\\.py") > + (("x = np.eye(1000, 66)") > +

Re: [PATCH 1/4] build/python-build-system: Fix easy-install.pth collisions.

2014-12-14 Thread Ludovic Courtès
Federico Beffa skribis: > From e63ee558fe702d429e2365b4757ddce029dc75ed Mon Sep 17 00:00:00 2001 > From: Federico Beffa > Date: Sat, 13 Dec 2014 22:19:08 +0100 > Subject: [PATCH 1/4] build/python-build-system: Fix easy-install.pth > collisions. > > * guix/build/python-build-system.scm (fix-pth)

[PATCH 4/4] gnu: matplotlib: Add gtk3 backends.

2014-12-14 Thread Federico Beffa
This one is problematic: for the package to work the user has to define export GI_TYPELIB_PATH=~/.guix-profile/lib/girepository-1.0 and export LD_LIBRARY_PATH=~/.guix-profile/lib The former is required to instruct 'gobject-introspection' where to find typelib files and should be fine, but I'm n

[PATCH 3/4] gnu: Add cairocffi.

2014-12-14 Thread Federico Beffa
Fede From e853d10b595ece0003d838cbfffa65e29a6c2e68 Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Wed, 10 Dec 2014 21:05:59 +0100 Subject: [PATCH 3/4] gnu: Add cairocffi. * gnu/packages/gtk.scm (python-cairocffi, python2-cairocffi): New variables. --- gnu/packages/gtk.scm | 57 +

[PATCH 2/4] gnu: Add xcffib

2014-12-14 Thread Federico Beffa
Fede From f4187d31f95e3a65947d77bf267115906ed3816b Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Wed, 10 Dec 2014 20:36:58 +0100 Subject: [PATCH 2/4] gnu: Add xcffib * gnu/packages/python.scm (python-xcffib, python2-xcffib): New variables. --- gnu/packages/python.scm | 42 +

[PATCH 1/4] build/python-build-system: Fix easy-install.pth collisions.

2014-12-14 Thread Federico Beffa
A patch to avoid python setuptools easy-install.pth collisions. Regards, Fede From e63ee558fe702d429e2365b4757ddce029dc75ed Mon Sep 17 00:00:00 2001 From: Federico Beffa Date: Sat, 13 Dec 2014 22:19:08 +0100 Subject: [PATCH 1/4] build/python-build-system: Fix easy-install.pth collisions. * guix

Installing guix

2014-12-14 Thread Amirouche Boubekki
Hello, I installed GNU Guix distribution on my other machine to use it more often. This will be a bit a long explanation. My machine is kind of recent, and previously with other distro I had all sort of trouble with uefi. Not this time, I don't know what is the configuration of guix, I've just s

Re: [PATCH 1/2] gnu: xfce4-panel: Support panel plugins from other packages

2014-12-14 Thread Ludovic Courtès
Mark H Weaver skribis: > In the past, xfce4-panel had a way to configure paths for per-user > plugin directories, but later this was changed to use only compile-time > constant paths, for reasons described here: > > https://bugzilla.xfce.org/show_bug.cgi?id=5455 > > Nix's current solution is si

Re: [PATCH] gnu: Add xdotool.

2014-12-14 Thread Ludovic Courtès
Alex Kost skribis: > IIUC using double spaces in the end of sentences is a convention. Indeed. ‘guix lint’ should catch it. > Also I noticed that you make descriptions look like this: > > (description "…") > > This makes the first line significantly shorter than other ones, so some > people

Re: [PATCH] gnu: Add vala.

2014-12-14 Thread Ludovic Courtès
宋文武 skribis: > * gnu/packages/gnome.scm (vala): New variable. LGTM, thanks! Ludo’.

Configuration & better defaults for nscd

2014-12-14 Thread Ludovic Courtès
Commit 6454b33 makes nscd’s policy configuration, and uses better defaults where host and service lookups are aggressively cached (I felt ashamed when I realized that running “nscd -f /dev/null” as we did resulted in a default configuration with absolutely no caching.) I looked at the nscd.conf fi

Re: [PATCH] gnu: Add xdotool.

2014-12-14 Thread Alex Kost
I've tried this patch and it has been built successfully on my i686 machine. So only nitpickings from me. John Darrington (2014-12-14 13:48 +0300) wrote: [...] > +(arguments > + '(#:tests? #f ; Test suite requires a lot of black magic > + #:phases Trailing space↑ > + (al

Re: [PATCH 1/2] gnu: Add vte.

2014-12-14 Thread David Thompson
宋文武 writes: > * gnu/packages/gnome.scm (vte, vte-0): New variables. > --- > gnu/packages/gnome.scm | 57 > +- > 1 file changed, 56 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm > index 5d84f4e..70877

[PATCH] gnu: Add xdotool.

2014-12-14 Thread John Darrington
* gnu/packages/xdisorg.scm (xdotool): New variable. --- gnu/packages/xdisorg.scm | 42 ++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 6820d01..1c29330 100644 --- a/gnu/packages/xdisorg.scm +++ b/