Re: Mysterious error while refactoring guix/scripts/system.scm

2016-09-30 Thread Ludovic Courtès
Hello, Chris Marusich skribis: > The reason I wanted to perform this refactoring in the first place is > because I'd like to add a new procedure to guix/scripts/system.scm > called 'switch-to-system-generation'. Because this new procedure calls > other procedures which

Re: Mysterious error while refactoring guix/scripts/system.scm

2016-09-24 Thread Chris Marusich
Hi Ludo’, Thank you for getting back to me! l...@gnu.org (Ludovic Courtès) writes: > Hi Chris, and sorry for the delay! > > Chris Marusich skribis: > >> Backtrace: >> In ice-9/boot-9.scm: >> 157: 15 [catch #t # ...] >> In unknown file: >>?: 14 [apply-smob/1 #] >> In

Re: Mysterious error while refactoring guix/scripts/system.scm

2016-08-29 Thread Ludovic Courtès
Hi Chris, and sorry for the delay! Chris Marusich skribis: > Backtrace: > In ice-9/boot-9.scm: > 157: 15 [catch #t # ...] > In unknown file: >?: 14 [apply-smob/1 #] > In ice-9/boot-9.scm: > 63: 13 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 12 [eval

Re: Mysterious error while refactoring guix/scripts/system.scm

2016-08-10 Thread Chris Marusich
Hi Andy, Thank you for the help! Sorry for the late reply; I wasn't able to respond until just now. > Here the #:system system was taking the `system' binding from within the > function -- it was lexically bound. You're right; that was the problem. I've updated the patch (see attached) and

Re: Mysterious error while refactoring guix/scripts/system.scm

2016-08-04 Thread Andy Wingo
On Thu 04 Aug 2016 08:20, Chris Marusich writes: > 1038: 3 [thunk] > In gnu/packages/bootstrap.scm: > 191: 2 [raw-build # "guile-bootstrap-2.0" ...] > In gnu/packages.scm: > 91: 1 [search-bootstrap-binary "tar" #] > In unknown file: >?: 0 [string-append # "/" "tar"]

Mysterious error while refactoring guix/scripts/system.scm

2016-08-04 Thread Chris Marusich
Hi, In my local Guix git repo, I've made the attached change on top of commit 7972d8a2e98af6592050a37036c2c80a01358fcf. I was surprised to find that when I built it and ran './pre-inst-env guix system list-generations', the following error occurred: --8<---cut