Hi,

On Thu, 21 Oct 2021 at 20:57, jgart via Bug reports for GNU Guix 
<bug-guix@gnu.org> wrote:

> https://git.sr.ht/~jgart/dotfiles/tree/master/item/bin/executable_guix-prepare-tree

--8<---------------cut here---------------start------------->8---
 guix environment guix --container -- ./bootstrap \
        && guix environment guix --container -- ./configure 
--localstatedir=/var \
        && guix environment guix --container -- make
--8<---------------cut here---------------end--------------->8---

Here you invoke 3 times “guix environment”, instead it is possible to
run:

--8<---------------cut here---------------start------------->8---
 guix environment guix --container -- sh -c \
        './bootstrap && ./configure --localstatedir=/var && make'
--8<---------------cut here---------------end--------------->8---

Well, I do not know if it is really better. :-)


Cheers,
simon




Reply via email to