On Wed, 05 Oct 2022, Maxim Cournoyer wrote:
> Hi,
>
> Olivier Dion writes:
>
> [...]
>
>>> I prefer the "#!/usr/bin/env bash" shebang; /usr/bin/env is available on
>>> FHS distribution, and on Guix System, for convenience. You can use if
>>> for any interpreted script, such as Guile, Python, Per
Hi,
Olivier Dion writes:
[...]
>> I prefer the "#!/usr/bin/env bash" shebang; /usr/bin/env is available on
>> FHS distribution, and on Guix System, for convenience. You can use if
>> for any interpreted script, such as Guile, Python, Perl, etc.
>
> Only if coreutils is in the profile that woul
Hi jordi,
>I'm puzzled, as long as 'loginctl suspend' is working in the shell
But '~/.config/i3/i3exit loginctl suspend' isn't.
Judging by your original snippet, you've mashed two commands together: you
meant either
~/.config/i3/i3exit suspend
or
loginctl suspend
But nobody here can t
Thank you all for your warm welcome and answers to my questions.
I'm trying to adapt this script
[..]
Suspend)
~/.config/i3/i3exit suspend
[..]
to my new Guix environment,
in my first iteration,
[..]
Suspend)
~/.config/i3/i3exit loginctl suspen
On Tue, 04 Oct 2022, Maxim Cournoyer wrote:
> Hi,
>
> Olivier Dion via writes:
>
>> On Tue, 04 Oct 2022, jordi wrote:
>>> Hi guixers,
>>>
>>> i'm wondering...for my scripts to work in Guix, instead of
>>> '#!/bin/bash' ,
>>>
>>
>> Typically the `sh' program should be a symlinked to `ba
Hi,
Olivier Dion via writes:
> On Tue, 04 Oct 2022, jordi wrote:
>> Hi guixers,
>>
>> i'm wondering...for my scripts to work in Guix, instead of
>> '#! /bin/bash' ,
>>
>
> Typically the `sh' program should be a symlinked to `bash' in your
> system profile. I think it is the case for many dis
Le Tue, Oct 04, 2022 at 03:18:36PM +0200, jordi a écrit :
> Hi guixers,
Hello!
>
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
>
> what do i have to start them with ?
#!/usr/bin/env bash
And if you need to pass arguments/options, take a look at
$ inf
On Tue, 04 Oct 2022, jordi wrote:
> Hi guixers,
>
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
>
Typically the `sh' program should be a symlinked to `bash' in your
system profile. I think it is the case for many distro. If you want it
to be bulletproof thou
Hi,
> Hi guixers,
>
> i'm wondering...for my scripts to work in Guix, instead of
> '#! /bin/bash' ,
>
> what do i have to start them with ?
>
> Thanks,thanks, thanks
>
> F
We have a link to bash located in /bin/sh so you can just leave /bin/sh. Or you
can also use `#!/usr/bin/env bash`
Both
Hi guixers,
i'm wondering...for my scripts to work in Guix, instead of
'#!/bin/bash' ,
what do i have to start them with ?
Thanks,thanks, thanks
F
10 matches
Mail list logo