<atka>platoxia`: could you explain what I did wrong? I am running the 1.3.0 qemu image, I copied the configuration.scm from /run/current-system/configuration.scm to /etc/config.scm, changed the keyboard layout and ran sudo guix system reconfigure /etc/config.scm and it broke image, it fails to boot now unless I roll back to previous configuration.
<vivien>Arnebab, I would not run a script that has been downloaded with a --insecure switch :P
<ArneBab>vivien: good catch — and I agree. I didn’t manage to get ssl-validation working. If you know which package is missing to make the clone work with pure, I’d be very grateful!
<ArneBab>(without --pure it works, but that’s not the point :-) )
<apteryx>yeah that one probably needs openssl installed along nss-certs (openssl *does* use an environment variable to find the certs)
<KittyOwO[m]>I am curious if anyone would be familiar if anyone has messed with reproducible machine learning? I am quite curious if it would be possible for someone to make a reproducible machine learning denoiser, given that is a niche that actually seems to work quite well for that type of garbage lol
<tissevert>: ) KittyOwO[m] I haven't but I'll possibly have to at some point (I'm doing NLP) so I'm curious if you manage to do anything with ML, and if I make any progress on my side I'll let you know
<gxr>Hi there. I'd like to mount cifs shares via fstab. Somehow cifs is not available for the mount command. Therefore I cannot use fstab. I configured mount.cifs to be in /run/setuid-programs/mount.cifs. So I can mount my network shares via mount.cifs command, but not with mount -t. Any ideas?
<civodul>gxr: hi! could be that you need to add the package that provides mount.cifs to 'setuid-programs', no?
<gxr>civodul: You are actually right ;). For some reason I did not install cifs-utils. I might have missed it in my config. Now I have installed it, and it works almost as expected. I can do a 'sudo mount /mnt/myshare' and it does the job. Now I am trying to fix that I need sudo to mount. I like to do it as the user.
<gxr>civodul: I am in a guix environment within the official guix repo. I am trying to 'guix build util-linux --with-patch=util-linux=./util-linux_setuid.patch'. It tells me that it can't find the files mentioned in the patch. I used 'git diff' to produce the patch.
<gxr>civodul: haha. Yes indeed a sledgehammer. Is there no other way to build util-linux with my changes?
<maximed>gxr: Do ./pre-inst-env guix build util-linux from the git clone
<maximed>That's the conventional method of testing changes in guix itself afaik
<maximed>(it appears bricewge and civodul already suggested this)
<gxr>civodul: I successfully built util-linux with the command provided by maximed plus '---with-patch=guix=./the-patch.path'. I use the mount command directly from the store with its absolute path. It seems that it applied the path, since the change is working. How can I apply the freshly built util-linux to my system, so that the regular 'mount' will
<gxr>use the patched version instead of the default?
<maximed>if you're working from the git clone, why are you doing "--with-patch=guix=./the-patch.path"
<maximed>I assume you made the patch with "git format-patch HEAD^..HEAD"
<maximed>if the patch is applied locally, then you can just do "./pre-inst-env guix system reconfigure ..."
<maximed>"./pre-inst-env": Use the git clone, instead of the latest version from "guix pull"
<gxr>maximed: I just did 'git diff > the-patch.patch', nothing more. So in order to install I need to reconfigure the system, but use the guix git clone in which I changed linux.scm which provides util-linux? If I test my changes and like to see them in guix latest version, how would I continue from there?
<maximed>not sure what you mean with "install" ("guix system reconfigure" or "guix install", with "./pre-inst-env"?), but yes, that's how you can test out local changes to guix
<maximed>There's a section in the manual I believe (‘Contributing’ or something like that)
<maximed>you can read it with the command "info '(guix)"
<Guest23>Hey everyone. I'm having quite some issues with locales on my guix system. Gnome-terminal immediately exits with status 8 when opened, and even flatpak applications like Element have locale errors that make them unusable `Could not fetch translation json for locale: 'en-us' Error: Cannot find module './i18n/strings/en-us.json'. Anyone have any
<Guest23>ideas how these issues can be avoided or troubleshooted?
<Guest23>In my system configuration I my locale set as follows: `Could not fetch translation json for locale: 'en-us' Error: Cannot find module './i18n/strings/en-us.json'`
<gxr>Guest23: I suggest setting your locales in a functional terminal first, e.g. xterm before starting other applications which have issues with the locales. You could set 'export LC_ALL="en_US.UTF-8"' in such a terminal and run the locale command again. All locales should have changed. If that fixes your problems, you can make them permanent by
<gxr>setting them in your .profile or .bashrc etc.
<gxr>Guest23: You must start the problematic applications from that terminal, in which you've changed the locale settings
<Guest23>Unfortunately, despite the environment variables being changed, the errors persist.
<gxr>Guest23: It could also be that the applications grab the locale settings from somewhere else.. in such a case you should set your locales persistently, in your .profile and .bashrc etc. You need to relogin to your graphical environment to apply the changes. I am not sure though your errors are directly related to the locales..
<Guest23>Interesting. Do you think this could be a conflict with Gnome settings? I had to manually set keyboard layout and formats since entering them into my configuration file did not seem to work with gnome.
<Guest23>Or is there any other information I could provide that might help narrow down the problem?
<Guest23>Even running `LANG=en_US.UTF-8 gnome-terminal` results in the same issue
<gxr>Guest23: I don't use gnome, but I would not exclude an issue related to what you are thinking. Try to set everything as consistently as possible, even if you are using a different keyboard layout than en_US. Try different combinations and look for certain packages to be installed. For example look if you have glibc-locales installed. There is
<gxr>another package which provides just a subset of the available locales.
<gxr>Guest23: I set my locale exactly like you. I also set locale-definitions explicitly for different languages. For example: (locale-definition (name "en_GB.utf8") (source "en_GB") (charset "UTF-8")). I put those definitions in a list and hand them to (locale-definitions ...) in my operating system config.)
<tschilptschilp23>Does anyone know what changes regarding graphics comparing the 5.10.x-series and both of 5.12.x and 5.13.x? I'm asking, because if I adapt my 'pinned'-kernel-setup to use any of these, my laptop screen blanks out shortly after entering the decryption key for the second time. I am on gnome, but just tried it with mate (through reconfigure, removing gnome) and yield the same result. Actually, graphics are not totally down, because I can
<tschilptschilp23>attach an external monitor via hdmi and this one gets signal (but that's not making my laptop very usable). I post my config below, from which I write now with the monitor screen working. If I change the kernel to 5.12.17 or 5.13.2 the laptop screen blanks and only external monitors work (unplugging these makes it feel like a black screen).
<calher>I'd love a GNOME Software interface to Guix. Who do I pay?
<dstolfa>calher: there are a few people here who understand gnome pretty well i would say, given that they've been making it work on guix. if you're willing to pay them as you say, it sounds like something that could indeed happen :D