白い熊@相撲道 <guix-devel_gnu....@sumou.com> writes:

> On 2015-03-11 20:17, Mark H Weaver wrote:
>> When you run "/path/to/git/checkout/pre-inst-env guix ..." then it will
>> always use the package descriptions from the git checkout.  This is
>> what
>> I *always* do.  In fact, to make this easier, I put this script in
>> ~/bin/guix:
>>
>> --8<---------------cut here---------------start------------->8---
>> #!/bin/sh
>>
>> exec /home/mhw/guix/pre-inst-env guix "$@"
>> --8<---------------cut here---------------end--------------->8---
>>
>> Also note that when 'pre-inst-env' is used,
>> $HOME/.config/guix/latest is
>> always ignored, so anything you've done with 'guix pull' is irrelevant.
>
> So, if I understand correctly, I'd make the git version, but not make
> install it. Then running `pre-inst-env guix' this will use definitions
> from the git pull...

Yes, that's right.

> What about the store? Should I configure it with --localstatedir set
> to /var when building the git version?

Indeed, that is important.  You'll also need to pass
--with-libgcrypt-prefix=$(guix build libgcrypt | head -1)

      Mark

Reply via email to