[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Am I doing it all wrong?
From: |
Csepp |
Subject: |
Re: Am I doing it all wrong? |
Date: |
Sun, 28 Aug 2022 13:50:25 +0200 |
"(" <paren@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. :)
- Am I doing it all wrong?, jgart, 2022/08/27
- Re: Am I doing it all wrong?, Ricardo Wurmus, 2022/08/27
- Re: Am I doing it all wrong?, jgart, 2022/08/27
- Re: Am I doing it all wrong?, (, 2022/08/27
- Re: Am I doing it all wrong?, (, 2022/08/27
- Re: Am I doing it all wrong?, (, 2022/08/27
- Re: Am I doing it all wrong?,
Csepp <=
- Re: Am I doing it all wrong?, (, 2022/08/28
- Re: Am I doing it all wrong?, Saku Laesvuori, 2022/08/28
Re: Am I doing it all wrong?, (, 2022/08/27
Re: Am I doing it all wrong?, Csepp, 2022/08/28