"(" <pa...@disroot.org> writes:

> On Sat Aug 27, 2022 at 9:56 PM BST, ( wrote:
>>   guix shell -D guix -- sh <<EOF
>>   ./bootstrap && ./configure --localstatedir=/var && make -j$(nproc)
>>   EOF
>
> You could wrap it in a sh function:
>
>   gsh() {
>       guix shell $@ -- sh
>   }
>
>   gsh -D guix <<EOF
>   ./bootstrap && ./configure --localstatedir=/var && make -j$(nproc)
>   EOF
>
>     -- (

Did you test that one?  Because I'm pretty sure it won't work, you
aren't passing the heredoc file descriptor to sh but guix shell.
Also, that should probably be "$@", just in case.

Because Bash is garbage. :)

Reply via email to