bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-20 Thread Ludovic Courtès
Hello, myg...@gmail.com skribis: > On 06/17/2018 at 22:53 Ludovic Courtès writes: > >> Hello, >> >> Mark H Weaver skribis: >> >>> I should emphasize that when running Guix this way, if you wish to avoid >>> running 'guix pull', it's important to always keep at least one >>> known-good

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-19 Thread myglc2
Hi Ludo’, On 06/17/2018 at 22:53 Ludovic Courtès writes: > Hello, > > Mark H Weaver skribis: > >> I should emphasize that when running Guix this way, if you wish to avoid >> running 'guix pull', it's important to always keep at least one >> known-good development environment for Guix saved as a

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-17 Thread Ludovic Courtès
Hello, Mark H Weaver skribis: > I should emphasize that when running Guix this way, if you wish to avoid > running 'guix pull', it's important to always keep at least one > known-good development environment for Guix saved as a GC root. Toward > that end, when I run "guix environment guix" to

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-16 Thread George Clemmer
Mark H Weaver writes: > Hi, > > l...@gnu.org (Ludovic Courtès) writes: > >> myg...@gmail.com skribis: >> >>> Based on this thread I am now making guix like this ... >>> >>> guix environment guix --ad-hoc guile-sqlite3 --root=build-env -- make >>> [MAKECMDGOALS] >>> >>> ... and using it like

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-16 Thread Mark H Weaver
Hi, l...@gnu.org (Ludovic Courtès) writes: > myg...@gmail.com skribis: > >> Based on this thread I am now making guix like this ... >> >> guix environment guix --ad-hoc guile-sqlite3 --root=build-env -- make >> [MAKECMDGOALS] >> >> ... and using it like this ... >> >> source

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-16 Thread Ludovic Courtès
Hello, myg...@gmail.com skribis: > Based on this thread I am now making guix like this ... > > guix environment guix --ad-hoc guile-sqlite3 --root=build-env -- make > [MAKECMDGOALS] > > ... and using it like this ... > > source build-env/etc/profile > ./pre-inst-env guix COMMAND ARGS... Yeah

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-16 Thread Mark H Weaver
Hi, myg...@gmail.com writes: > Based on this thread I am now making guix like this ... > > guix environment guix --ad-hoc guile-sqlite3 --root=build-env -- make > [MAKECMDGOALS] Nice. Somehow I failed to know of the existence of the --root option. The "--ad-hoc guile-sqlite3" should no

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-16 Thread Mark H Weaver
flags 31841 + notabug close 31841 thanks Hi Ludovic, l...@gnu.org (Ludovic Courtès) writes: > Mark H Weaver skribis: > >> If there's a good reason to avoid implementing Ricardo's suggestion, I >> don't mind keeping my modified 'guix' script above, but I confess that I >> don't yet understand

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread myglc2
On 06/15/2018 at 18:51 Ludovic Courtès writes: > OK to close this issue? > > Ludo’. Hi Ludo’, Based on this thread I am now making guix like this ... guix environment guix --ad-hoc guile-sqlite3 --root=build-env -- make [MAKECMDGOALS] ... and using it like this ... source

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Ludovic Courtès
Hello, Mark H Weaver skribis: > l...@gnu.org (Ludovic Courtès) writes: [...] >> I’m a bit reluctant to that, in part because it’s a development >> environment where we can have different expectations IMO. > > If there's a good reason to avoid implementing Ricardo's suggestion, I > don't mind

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Mark H Weaver
l...@gnu.org (Ludovic Courtès) writes: > Ricardo Wurmus skribis: > >> We could fix this by recording more of the configured >> GUILE_LOAD_{,COMPILED_}PATH and setting it up at runtime with >> pre-inst-env. Thanks, Ricardo. For now, I've changed my local 'guix' script to this: #!/bin/sh

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Mark H Weaver
Hi, Ricardo Wurmus writes: > Ludovic Courtès writes: > >> Hello, >> >> Ricardo Wurmus skribis: >> >>> When outside of an environment containing guile-sqlite3 strace shows >>> that Guix tries to load it right before failing. The cause here is the >>> autoloading of (guix store database),

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Ricardo Wurmus
Ludovic Courtès writes: > Hello, > > Ricardo Wurmus skribis: > >> When outside of an environment containing guile-sqlite3 strace shows >> that Guix tries to load it right before failing. The cause here is the >> autoloading of (guix store database), which depends on the sqlite >> bindings. >

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Ludovic Courtès
Hello, Ricardo Wurmus skribis: > When outside of an environment containing guile-sqlite3 strace shows > that Guix tries to load it right before failing. The cause here is the > autoloading of (guix store database), which depends on the sqlite > bindings. Indeed. Commit

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Ricardo Wurmus
Hi Mark, > Since updating to current master (commit b494bbe46), 'guix system' no > longer works for me: > > --8<---cut here---start->8--- > mhw@jojen ~/guix$ ./pre-inst-env guix system build -n /etc/config.scm > guix: system: command not found > Try `guix

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread myglc2
On 06/15/2018 at 08:56 Rutger Helling writes: > I'm having the same problem. I think being able to run Guix entirely > from a git checkout is one of the best things about it and it's pretty > essential that we keep that possibility for people who want it. +1

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-15 Thread Rutger Helling
I'm having the same problem. I think being able to run Guix entirely from a git checkout is one of the best things about it and it's pretty essential that we keep that possibility for people who want it. pgptMVmZX8dv0.pgp Description: OpenPGP digital signature

bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix

2018-06-14 Thread Mark H Weaver
Since updating to current master (commit b494bbe46), 'guix system' no longer works for me: --8<---cut here---start->8--- mhw@jojen ~/guix$ ./pre-inst-env guix system build -n /etc/config.scm guix: system: command not found Try `guix --help' for more