[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternatives to --emulate-fhs on foreign distros

From: Kyle
Subject: Re: Alternatives to --emulate-fhs on foreign distros
Date: Fri, 21 Apr 2023 15:44:09 +0000

Dear Maxim, 

Unfortunately, I don't see /usr/bin/env when I look inside the file system 
resulting from:

guix shell coreutils --container

I don't understand how to apply "system" configuration to a guix shell 
container other than crudely through --emulate-fhs. Since noone has needed it 
so far, maybe that's not that helpful if /bin/bash was made available?

On April 20, 2023 8:56:47 AM EDT, Maxim Cournoyer <> 
>Hi Kyle,
>Kyle Andrews <> writes:
>> Dear Guix,
>> The (many) shell scripts in my software depend on bashisms. In the
>> code right now I typically use /usr/bin/env bash since I had read that
>> was the most portable way of referencing a shell. However, I really
>> don't think I have a good handle on what my choices are. Maybe the
>> tedious solution of just typing `bash' in all of the system
>> calls referencing this scripts might be the right approach in the long
>> run?
>Use /usr/bin/env.  It's available on all mainstream distributions, and
>it's also available on Guix System, so it should work everywhere.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]