[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#31841: ./pre-inst-env guix system no longer works without ~/.config/
From: |
Mark H Weaver |
Subject: |
bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix |
Date: |
Fri, 15 Jun 2018 09:08:00 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Ricardo Wurmus <address@hidden> writes:
> Ludovic Courtès <address@hidden> writes:
>
>> Hello,
>>
>> Ricardo Wurmus <address@hidden> 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 c5a2e1ffcb029f50c4c18352cf378b61c41c625e made
>> guile-sqlite3 a requirement, but ‘configure’ is supposed to error out if
>> it’s not found.
>>
>> Mark, any idea why ‘configure’ didn’t fail for you? What does
>> ‘config.log’ say?
>
> I have the same problem when using “pre-inst-env” outside of a
> development environment. So “configure” succeeds (when run inside “guix
> enviromnent guix”), but “./pre-inst-env guix system --help” fails when
> run outside of that environment.
Indeed. I make sure to run 'make' within a development environment, but
until now I've been able to *run* Guix using ./pre-inst-env outside of
the development environment.
My preferred mode of operation has always been to run 'guix' from my
private git checkout. For years I was able to arrange this by manually
installing a symlink from ~/.config/guix/latest to my git checkout, but
at some point that stopped working, so now I have a small 'guix' script
in ~mhw/bin and ~root/bin:
#!/bin/sh
exec /home/mhw/guix/pre-inst-env guix "$@"
I suppose I could extend this script to run 'pre-inst-env' within the
development environment, but I wonder if there's a reason not to have
'pre-inst-env' install the necessary environment. That would seem to be
its job, no?
Mark
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Mark H Weaver, 2018/06/14
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Rutger Helling, 2018/06/15
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Ricardo Wurmus, 2018/06/15
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Ludovic Courtès, 2018/06/15
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Mark H Weaver, 2018/06/15
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Ludovic Courtès, 2018/06/15
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, myglc2, 2018/06/15
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Mark H Weaver, 2018/06/16
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Ludovic Courtès, 2018/06/16
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Mark H Weaver, 2018/06/16
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, George Clemmer, 2018/06/16
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Ludovic Courtès, 2018/06/17
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, myglc2, 2018/06/19
- bug#31841: ./pre-inst-env guix system no longer works without ~/.config/guix, Ludovic Courtès, 2018/06/20