Re: To-do lists

2013-01-23 Thread Jason Self
Ludovic Courtès wrote .. > Perhaps we should ask savannah-hackers for a secondary Git repo? I don't suppose there's any harm in that, except that it means using Git but I'll go be quiet now.

Re: Rollback problems

2013-01-23 Thread Andreas Enge
Am Mittwoch, 23. Januar 2013 schrieb Ludovic Courtès: > And what if you roll back once you’re at the empty profile? Then nothing should happen. > It seems more intuitive for me to error out like this, because there was > really nothing but nothingness before “hello” was installed. :-) > WDYT? N

Re: libjpeg-8 not installable

2013-01-23 Thread Ludovic Courtès
Andreas Enge skribis: > $ guix-build libjpeg > fails: > > Backtrace: > In ice-9/boot-9.scm: > 149: 12 [catch #t # ...] > 157: 11 [#] > In unknown file: >?: 10 [catch-closure] > In ice-9/boot-9.scm: > 63: 9 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 407: 8 [eval # #] > In unkno

Re: [PATCH] gnu: Add psutils.

2013-01-23 Thread Ludovic Courtès
Andreas Enge skribis: > Am Montag, 21. Januar 2013 schrieb Ludovic Courtès: >> Andreas Enge skribis: >> > Is this not exactly how bsd-style operates? >> Yes, but it’s only for BSD-style licenses. > > Finally I think we agree. Nitpicking is what I do on my spare time. ;-) > I was suggesting to

Re: [PATCH v2] gnu: Add OCaml. licenses: Add QPL.

2013-01-23 Thread Ludovic Courtès
> Thanks, that worked. Here is a second version of the patch, which seems to > work. Applied, thanks! I took the liberty to change the following: > +(inputs > + `(("perl", perl) > + )) No hanging parenthesis, and comma right before ‘perl’. > +(home-page "http://www.ocaml.org/

Re: Rollback problems

2013-01-23 Thread Ludovic Courtès
Andreas Enge skribis: > $ guix-package -i hello > > This creates a link $HOME/.guix-profile to $PERUSER/guix-profile; the > latter points to the newly created $PERUSER/guix-profile-1-link > > $ guix-package --roll-back > error: no previous profile; not rolling back > > No links are changed. I th

Re: To-do lists

2013-01-23 Thread Ludovic Courtès
Hi Jason, "Jason Self" skribis: > Another option might be GNU Recutils. Right. > Regardless of the use of Org-mode or Recutils, is there any reason > such a file couldn't exist in version control on Savannah? It could be > part of either the source code repository or web pages repository. > Ac

Thunked package ‘arguments’

2013-01-23 Thread Ludovic Courtès
Hi! With commit 21c203a, the ‘arguments’ field of packages is automatically “thunked”–i.e., wrapped in a zero-argument closure. This allows the value of ‘arguments’ to refer to the ‘%current-system’ fluid to do all things system-specific. Previously, when the value of ‘arguments’ was system-depe

Re: Porting to mips64el

2013-01-23 Thread Nikita Karetnikov
> You also need ‘--without-bash-malloc’ (see ‘bash-light’ in bash.scm). # ./configure --enable-static-link \ --without-bash-malloc \ --disable-readline \ --disable-history \ --disable-help-builtin \ --disable-progcomp \

Unknown non-options for guix-package

2013-01-23 Thread Andreas Enge
By mistake, I just tried the following: guix-package install freetype Nothing happens, but an error message would still be useful. Andreas

Rollback problems

2013-01-23 Thread Andreas Enge
Rollback does not quite work as expected for me. I am starting without .guix-profile in the home directory, and an empty directory $PREFIX/var/nix/profiles/per-user/$USER (which I will shorten to $PERUSER in the following). $ guix-package -i hello This creates a link $HOME/.guix-profile to $PE

Re: Release imminent!

2013-01-23 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> ‘guix-build’ is for packagers, when you want to build something without >> actually adding it to your profile, whereas ‘guix-package -i’ is for >> when you want to add something to your profile. > >> Do you think this should be clarified somehow? > > Yes. Could you

Re: libjpeg-8 not installable

2013-01-23 Thread Andreas Enge
Am Dienstag, 22. Januar 2013 schrieb Ludovic Courtès: > Commit 5401dd7 does that. It almost works now, thanks! I can do $ guix-build libjpeg-8d and $ guix-build libjpeg-9 but $ guix-build libjpeg fails: Backtrace: In ice-9/boot-9.scm: 149: 12 [catch #t # ...] 157: 11 [#] In unknown file: ?:

[PATCH v2] gnu: Add OCaml. licenses: Add QPL.

2013-01-23 Thread Cyril Roelandt
* gnu/packages/ocaml.scm: New file. * Makefile.am (MODULES): Add it. * guix/licenses.scm: New variable. --- On 01/21/2013 09:18 PM, Ludovic Courtès wrote: > Alternately, you could move the ‘check’ phase after the install phase, > like this (untested): Thanks, that worked. Here is a second version

Re: [PATCH] gnu: Add psutils.

2013-01-23 Thread Andreas Enge
Am Montag, 21. Januar 2013 schrieb Ludovic Courtès: > Andreas Enge skribis: > > Is this not exactly how bsd-style operates? > Yes, but it’s only for BSD-style licenses. Finally I think we agree. I was suggesting to create something analogous to bsd-style, just with a different name. But maybe bs

Re: To-do lists

2013-01-23 Thread Jason Self
Ludovic Courtès wrote .. > Another option would be to have a simple Org-mode file in a repo hosted > on hydra.gnu.org (say), but that means that everyone would need to have > an SSH account on that machine (unless we can use a single SSH account > for everyone who needs to access the repo?). > > S

Re: GNU Bazaar doesn't support the GNU build system

2013-01-23 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> I realize this is a bit more involved than “just” packaging the thing, >> but it will be useful in the long run. > > I'm missing the big picture. That's the main problem. What will happen > when I run 'guix-package -i hello'? ‘build-system’ objects are an abstract

Re: To-do lists

2013-01-23 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> Could be, though it’s really inconvenient (heavyweight, browser-only). > > There are some bug trackers that support email [1]. Have you ever tried > them? Yes, http://bugs.gnu.org is a Debbugs instance, used by Guile, among others. It’s convenient for bug reports,

Re: Porting to mips64el

2013-01-23 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> I'll try to build statically-linked Bash. > > Could anyone advise on this? Which flags and options should be used? > > The ones from the corresponding recipe look a bit complex for me. I > tried this instead: > > # ./configure --enable-readline --enable-static-link

Re: Porting to mips64el

2013-01-23 Thread Ludovic Courtès
Hi, Nikita Karetnikov skribis: >> Wild guess: you’re building outside of a chroot, and Perl’s configure >> found /usr/lib/libgdbm.so, so it decided to link against it, which >> didn’t work because our linker doesn’t look for libraries there. > >> Can you confirm? > >> Solution: add “build-use-ch

Re: guix-package --search

2013-01-23 Thread Nikita Karetnikov
> Instead, you can directly build the list of matching packages, like: > (fold-packages (lambda (package result) >(if (or (regexp-exec rx (package-synopsis package)) >(regexp-exec rx (package-description package))) >(cons pa

Re: First time guix build

2013-01-23 Thread Ludovic Courtès
Hi Alex, Alex Sassmannshausen skribis: > Whilst reading the published manual on the GNU Guix website I came across the > following three sentences that could maybe be improved (their all in section > 3.1): > 'Instead of referring to these directories, users have their own profile, > which poi