Re: [PATCH] guix package: Add '--delete-generations'.

2013-09-24 Thread Nikita Karetnikov
Nothing has to be changed; it’s just that I’d prefer to put the bits that introduce ‘link-to-empty-environment’ in a separate patch, for clarity. I could do it, but it may be easier for you to do it, no? Ah, I simply misunderstood. I’ll do it. pgpBmYpaLw3VH.pgp Description: PGP signature

Re: [PATCH] guix package: Show which generation is the current one.

2013-09-24 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: Could we instead of a global (current-generation-number profile) procedure? We’d store the number in a local variable here, to avoid repeated ‘readlink’ calls. I don’t see how the former implies the latter. Could you expand on this? I’m

Re: GNU Guix hackathon on Sep. 28-29

2013-09-24 Thread Nikita Karetnikov
I will be physically present at the hackathon in Cambridge. Most Guix developers are not in the US, but it would be great if you could find interested people in Cambridge. I have experience with Guile, but I haven't done much work with package management systems before. That’s not a problem

Re: FAIL: tests/guix-register.sh

2013-09-24 Thread Ludovic Courtès
Nikita Karetnikov nik...@karetnikov.org skribis: HEAD (caf96debc257dee9ad8b0ea74cc6a8241c30dad4) fails. ‘guix-register.log’: + type -P sqlite3 /usr/local/bin/sqlite3 + echo 'select * from ValidPaths where path=/nix/store/z4pyj3rbgpqpd3mj0rxpbbpg45hlfcbh-guile-bootstrap-2.0;' + sqlite3

Re: Generation 0

2013-09-24 Thread Nikita Karetnikov
What about these patches? Should the first patch also test the following case? +(let ((numbers (generation-numbers profile))) + (if (equal? numbers '(0)) + (exit 1) + (for-each list-generation numbers From