Re: Rollback problems

2013-01-24 Thread Nikita Karetnikov
> No, I disagree; when I have nothing, install hello and roll back, I should be > back to nothing. Some other opinions would be useful on this matter. I agree. Nikita pgpTWEdV44igV.pgp Description: PGP signature

Re: Rollback problems

2013-01-24 Thread Nikita Karetnikov
> 3. More generally, should the history of generations be linear, or > should it be a DAG like Git commits? If the latter is the case, then we can probably use a simple tree. Here is a related link: [1]. > Regarding (3), it seems that a linear history not only simplifies the > implementatio

Re: Thunked package ‘arguments’

2013-01-24 Thread Ludovic Courtès
l...@gnu.org (Ludovic Courtès) skribis: > 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. Commit dd6b9a

Re: guix-package --search

2013-01-24 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> 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)))

Re: Unknown non-options for guix-package

2013-01-24 Thread Ludovic Courtès
Andreas Enge skribis: > By mistake, I just tried the following: >guix-package install freetype > > Nothing happens, but an error message would still be useful. Indeed. Fixed, thanks! Ludo’.

Re: Rollback problems

2013-01-24 Thread Ludovic Courtès
Hello, So Andreas and I discussed this IRL–we happen to be in the same local GGUUG[*]. Here’s a summary. Issues were: 1. Should generations from which we roll back be kept? 2. If not, should they be deleted directly after a successful roll-back, or just when a new diverging generation

Re: Rollback problems

2013-01-24 Thread Ludovic Courtès
Alex Sassmannshausen skribis: > Is rollback supposed to be one-directional? I.e. you can go back in > time, but you can't then go forward in time again ('undo' and 'redo')? That’s a good question: should undos be stored in the history? IOW, should users be able to undo an undo operation, as is u

Re: Porting to mips64el

2013-01-24 Thread Ludovic Courtès
Nikita Karetnikov skribis: >> You also need ‘--without-bash-malloc’ (see ‘bash-light’ in bash.scm). Note that ‘%bash-static’ in make-bootstrap.scm is: (define %bash-static (static-package bash-light)) and ‘static-package’, from gnu.scm, adds this: "--disable-shared" "LDFLAGS=-static"

Re: Rollback problems

2013-01-24 Thread Alex Sassmannshausen
Hello, For what it's worth, my 2 cents on the issue: - I too think that rollback into an empty profile should be possible. The empty state seems like a valid state to be in for me. On the issue of rollbacks and branches, I like the simplicity of numbers. To try and understand Ludo's suggestion,

Re: Rollback problems

2013-01-24 Thread Ludovic Courtès
Hello! Andreas Enge skribis: > 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 befo