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

2023-04-19 Thread Andreas Enge
Hello, Am Wed, Apr 19, 2023 at 06:18:33AM + schrieb Kyle Andrews: > I'm curious what other options might be. The main bashism I use is default > environment variables ${FOO:-bar}. On a native Guix system I could just add > /usr/bin/env back in. However, that doesn't seem to be possible with

Re: Emacs EXWM requires restart after a Guix Home reconfigure

2023-04-19 Thread Fabio Natali
On 2023-04-17, 14:08 -0400, Maxim Cournoyer wrote: > I think there's nothing special about 'guix home' or ExWM here; it > happens with any Emacs package installation; Emacs must be restarted > completely (M-x guix-emacs-autoload-packages doesn't suffice). It's a > regression that was introduced w

Error building with guix system image

2023-04-19 Thread Saku Laesvuori
Running `guix system image image-minimal.scm` fails with the following build log: ```build log for partition.img.drv copying 340 store items | [progress bar animation] registering 337 items | [progress bar animation, fails before end] Backtrace: In ice-9/eval.scm: 619:8 19 (_ #(# # …)) In ./gn

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

2023-04-19 Thread Martin Castillo
Hi, So everything is bash in the end, but I do not know whether bash behaves differently if it is called under the name "sh". You could give it a try. Yes. Search for \bsh\b in the manpage. It includes things like If bash is invoked with the name sh, it tries to mimic the startup be‐ havio

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

2023-04-19 Thread (
Kyle Andrews writes: > 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. M

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

2023-04-19 Thread (
"(" writes: > ``/usr/bin/env bash'' will automatically be substituted for the path to > an available ``/bin/bash'' in the store. (If that's what you're talking > about here; not sure what the context is exactly.) ...never mind, i thought you were talking about software that you want to package.

Re: Is it possible to system reconfigure from a local guix git?

2023-04-19 Thread Denis 'GNUtoo' Carikli
On Tue, 18 Apr 2023 09:03:51 +0200 Andreas Enge wrote: > So in a first step, if I am limited to sudo, I do "sudo su -" to > become root. Thanks a lot, that seems to work: I don't have the same errors anymore (I've other errors related to i686 though). Denis. pgpEUfpiXtynB.pgp Description: Open

Re: Help-Guix Digest, Vol 89, Issue 29

2023-04-19 Thread Gottfried
Hi, thanks for help I have MATE 1.24.1 Desktop and GDM as display manager You need to know what display-manager (the program where you log in to your user) you use and look at its documentation to see what files it may source before it logs you in. I didn’t find out which version of gdm I h

Re: to enable all profiles at login time

2023-04-19 Thread Gottfried
Hi, your email address is still blocked through my email-provider. So I don’t get it. I am working on "Guix System" , not on a foreign distro. So I don’t know if your suggestion I can use. -- Kind regards Gottfried Message: 1 Date: Mon, 17 Apr 2023 19:25:57 +0200 From: Giovanni Biscuolo To

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

2023-04-19 Thread Kyle
The context is that my R package calls a bunch of shell scripts stored inside it. I am getting errors about /usr/bin/env not being available (e.g. bad interpreter: no such file or directory), so was thinking that their shebangs were not getting patched. It's not clear to me how thorough Guix is

Re: to enable all profiles at login time

2023-04-19 Thread Martin Castillo
Hi, Am 19.04.23 um 18:10 schrieb Gottfried: but when starting MATE Desktop all my profiles are not enabled. graphical sessions environment is not controlled by .bash_profile (or .profile) If sddm is used, this statement is false. Does source that file (if bash is the users shell) and ther

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

2023-04-19 Thread (
Kyle writes: > The context is that my R package calls a bunch of shell scripts stored inside > it. I am getting errors about > /usr/bin/env not being available (e.g. bad interpreter: no such file or > directory), so was thinking that their > shebangs were not getting patched. It's not clear to m

Re: Help-Guix Digest, Vol 89, Issue 29

2023-04-19 Thread Martin Castillo
Hi, sorry for the other mail, I just saw this one. Am 19.04.23 um 18:05 schrieb Gottfried: Hi, thanks for help I have MATE 1.24.1 Desktop and GDM as display manager A quick search makes me think gdm sources .xprofile. So adding source ~/.bash_profile to ~/.xprofile should work. [1]: Somew

PSA for LUKS users

2023-04-19 Thread Felix Lechner via
Hi, Given the broad popularity of LUKS full-disk encryption among our fellow Guix users, I thought the community might appreciate reading about potentially weak key-derivation functions in older LUKS installations. [1] The article even offers fixes, although I cannot say whether your system will

Re: PSA for LUKS users

2023-04-19 Thread Vagrant Cascadian
On 2023-04-19, Felix Lechner via wrote: > Given the broad popularity of LUKS full-disk encryption among our > fellow Guix users, I thought the community might appreciate reading > about potentially weak key-derivation functions in older LUKS > installations. [1] > > The article even offers fixes, a