Re: Porting to mips64el

2013-02-11 Thread Nikita Karetnikov
I apologize; I totally forgot about these issues: [1,2,3]. I'll push the needed changes later. (I should test them again.) [1] http://www.mail-archive.com/bug-guix@gnu.org/msg00614.html [2] http://www.mail-archive.com/bug-guix@gnu.org/msg00689.html [3] http://www.mail-archive.com/bug-guix@gnu.or

[PATCH] Implement guix-package --upgrade

2013-02-11 Thread Mark H Weaver
Hello all, Here's an implementation of the -u/--upgrade option for guix-package. The one thing I'm not happy about is that it complains about ambiguous package specifications when asked to upgrade packages such as guile, though it seems to me that there's no way to avoid that. Comments and sugge

Re: [PATCH] Improve shell script headers and pre-inst-env handling

2013-02-11 Thread Mark H Weaver
Here's an improved version of the second patch. There's no functional difference, but the code is easier to read IMO. Mark >From b1ea7f6ab01fb5c1ae1638315dad3fc8903682dc Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Mon, 11 Feb 2013 19:13:32 -0500 Subject: [PATCH 2/2] Improve shell s

Re: Porting to mips64el

2013-02-11 Thread Nikita Karetnikov
> Please append '-linux' to the following: > . The current workaround is to adjust 'build-aux/download.scm' and 'gnu/packages/bootstrap.scm' like this: (string->uri (string-append %url-base "/mips64el"

Re: Porting to mips64el

2013-02-11 Thread Nikita Karetnikov
> So you can either temporarily modify build-aux/download.scm to point to > fdn.fr/..., or download the file in question by hand and check its hash > against the one that’s in Makefile.am. Please append '-linux' to the following: . By

Re: [PATCH] Improve shell script headers and pre-inst-env handling

2013-02-11 Thread Mark H Weaver
I wrote: > I've attached two patches. The first arranges to make sure that > 'pre-inst-env' will be rebuilt when 'pre-inst-env.in' is modified. > > The second patch is the main subject of this email. It reworks the > shell script headers at the top of 'guix-package' and the other scripts > to av

[PATCH] Improve shell script headers and pre-inst-env handling

2013-02-11 Thread Mark H Weaver
Hello all, I've attached two patches. The first arranges to make sure that 'pre-inst-env' will be rebuilt when 'pre-inst-env.in' is modified. The second patch is the main subject of this email. It reworks the shell script headers at the top of 'guix-package' and the other scripts to avoid modif

Commit policy

2013-02-11 Thread Ludovic Courtès
Hello, I’ve added the “commit policy” to HACKING. Let’s discuss it if you have any comments. Ludo’.

Re: Porting to mips64el

2013-02-11 Thread Ludovic Courtès
Andreas Enge skribis: > Am Montag, 11. Februar 2013 schrieb Ludovic Courtès: >> So, with the ‘mips64el’ branch, you should be able to download them and >> get started. > > Could you update the links and hashes in the branch? When trying to build > guix on mips64el, I get the following: It’s jus

Re: [PATCH] gnu: Add tmux. licenses: add ISC.

2013-02-11 Thread Cyril Roelandt
On 02/11/2013 09:18 AM, Ludovic Courtès wrote: Feel free to push once changed accordingly. Done ! Thanks, Cyril.

Re: Porting to mips64el

2013-02-11 Thread Andreas Enge
Am Montag, 11. Februar 2013 schrieb Ludovic Courtès: > So, with the ‘mips64el’ branch, you should be able to download them and > get started. Could you update the links and hashes in the branch? When trying to build guix on mips64el, I get the following: /run/current-system/sw/bin/mkdir -p `dirn

Re: Porting to mips64el

2013-02-11 Thread Ludovic Courtès
Hi! Nikita sent me the bootstrap binaries they built, and I uploaded them to www.fdn.fr for testing (we’ll put them on alpha.gnu.org once a couple of people have been able to build something :-)). So, with the ‘mips64el’ branch, you should be able to download them and get started. I was surprise

Re: [PATCH] gnu: Add GNU Wdiff.

2013-02-11 Thread Ludovic Courtès
Nikita Karetnikov skribis: > Can I push this one? Yes, please. Ludo’.

[PATCH] gnu: Add GNU Wdiff. (was: GNU Wdiff: Testsuite fails)

2013-02-11 Thread Nikita Karetnikov
> I believe this should be enough. Thanks, it worked. Can I push this one? From a9401ad161426d664779fa030b30616bb3c36058 Mon Sep 17 00:00:00 2001 From: Nikita Karetnikov Date: Mon, 11 Feb 2013 11:39:05 + Subject: [PATCH] gnu: Add GNU Wdiff. * gnu/packages/wdiff.scm: New file. * Makefile.am

Re: GNU Wdiff: Testsuite fails

2013-02-11 Thread Ludovic Courtès
Nikita Karetnikov skribis: > /tmp/nix-build-wdiff-1.1.2.drv-12/wdiff-1.1.2/src/wdiff: failed to execute > diff: No such file or directory So, the test suite creates ‘diff’ binaries, for instance, with an invalid shebang. To fix that you need to add a phase that does: (substitute* "tests/tes

Re: [PATCH] gnu: Add tmux. licenses: add ISC.

2013-02-11 Thread Ludovic Courtès
Hi, Cyril Roelandt skribis: > Adding tmux was easy, I just had to add the ISC license (aka "the OpenBSD > license") to guix/licenses.scm. If you're okay with that, I'll push the patch. Looks good to me. Just a couple of comments: > + (uri (string-append > + > "