<krafter>festerdam: You better ask someone else tomorrow, I haven't tried what you are doing.
<festerdam>Yeah, I should probably get some sleep. I just got another question. Is there a way to continue the download process of a package midway if the previous download attempt was interrupted? Like wget's -c flag. My network isn't that stable and I often get early EOF's when downloading big packages.
<festerdam>Ok, I was able to get rid of the error. Seems like there needs to be a "menu-entries" and "list" containing the entries.
<festerdam>krafter: Thank you for your support. Going to test it now and hopefully (in the modern meaning) go sleep.
<mfg>roptat: when i use python-warpper it even does find the correct python, but the script itself stops and says python is too old it can't find argparse (it substitutes to python 3.7.0 which should have argparse ?)
<str1ngs>mfg seems roptat understands the patching order better then idea.
<vup>hi everyone, is there a general way to "override" a package in guix? (something similar to "packageOverrides" in nix)
<roptat>vup you're looking for --with-input (from the common build options) I think
<vup>more specific: i am searching for a way to add my own patches to xkeyboard-config (because i am using a custom keyboard layout), however xkeyboard-config is used at various places like keyboard-layout, as input to xorg-server and various other packages, so just using package-input-rewriting is not so straight forward
<roptat>ah mh... you'll have to replace every occurence of the default package then I think
<nckx>* #:package keyword for both in the service is probably the righter approach here.
<ngz>I have a question about wireshark (packet sniffer) package. Currently, it can almost only be used as root. There is an option to use dumpcap so that any user in the "wireshark" group can capture packets. However, when activating the option, the build reports the error "chgrp: invalid group: ‘wireshark’". It in understandable, but how could we work around this in Guix?
<mfg>I would add that group in my systems config /etc/config.scm and add the necessary users to it, i guess
<ngz>mfg: Is there some standard, fixed, always-existing, user group that we could use instead of "wireshark"?
<vup>nckx: ah, because console-setup is only used for ckbcomp (which is used converting the xkb keyboard description to a console keymap) and i assumed not many people would need to replace / override that
<juh>Is there already a feature request that the guix installer checks for the wifi card before formatting the disk? That would save a lot of work.
<festerdam>Oh that may explain the error I'm getting. I did (linux "boot/vmlinuz-3.13.0-141-lowlatency) and GRUB would if tried to boot declare it invalid and tell me I needed to load the kernel first. Should get into grub syntax to get it working...
<juh>I guess there is no installation image with non-free wifi drivers?
<nckx>ItsMarlin: ☝. I hope I wasn't too enthousiastic in my response. It's definitely possible (your system configuration file is just a programme, after all) but might not be as easy as I thought. I only use Org for Scheme within emacs.
<nckx>ItsMarlin: You can send it straight to bug-guix@ if you prefer.
<nckx>I'm leaving in a few minutes and won't be back for hours.
<ngz>juh: Guix is free software, you can create and distribute an installation image with non-free wifi drivers. Some external channels already allow that. However, Guix, as a project, doesn't encourage this.
<ItsMarlin>making an install image that works with any hardware wouldn't be too hard with the config.scm
<ItsMarlin>i still have to figure out if i'll need the firmware blobs for my gpu
<mfg>i'm currently in an ad-hoc environemnt with my favourite compiler and build tools, is there a way (other than starting emacs in that environment) to let emacs know about it so that flycheck and such find the necessary binaries?
<mfg>How do i use a local channel? i need some packages being available via guix environment and this doesn't have a -f option ...
<Marlin1113>i'm liking guix, the issue is more the binary blob stuff
<tune>yeah, I find that if you need to do anything that someone didn't already figure out for you, guix gets complicated fast
<mfg>Marlin1113: Yeah, i have a quadro inside my notebook but can't use it with things like opencl and such ... that's a bit sad, but tbh i don't care because linux-libre and guix is fucking awesome :D
<tune>Marlin1113: your error paste doesn't seem to have much info, maybe the build log would say more
<Marlin1113>mfg: yeah, i need proprietary drivers for opencl too, but that i don't need completely. But having a rx580 that can't even do the 3d accel would be throwing the money i spent on the trash can heh
<mfg>i'm currently in an environment and executed a program which says it couldn't load a shared library, looking into the profile folder under /gnu/store the library is linked. what else could influence this ?
<mbakke>Specifically this quote: "Indeed, I became aware that some users have got the idea that blocking the loading of blobs is a feature. It's not; it's just a bug that's quite difficult to fix. The decision on whether or not to use a piece of software, be it Free or not, should belong to the users, and it's not our intent to make that difficult."
<mfg>Ahhh, what is the LD_LIBRARY_PATH variable in guix used for? How are libraries added to it? is it possible/necessary to include in a package definition that it should add it's libs to that var?
<ItsMarlin>weird bug: sometimes the user and root's passwords reset after a guix system reconfigure
<mfg>and the linking thing is resolved if i manually add the lib to LD_LIBRARY_PATH ... so how does i.e. gdk-pixbuf+svg do this?
<mfg>the package definition seems not to contain anything special in that regard
<mouldysammich>while trying to get gnome/wayland up and running im replacing gdm with sddm, however https://paste.debian.net/1083070/ this causes problems in that its very difficult to log in the screen flickers etc due to gdm still running, any idea whats wrong with the service list?
<janas>mouldysammich: Are you trying to remove gdm from the services list?
<nckx>str1ngs: My secrets channel would disagree, and I like working off-line, but it's probably less of a philosophical decision than a side-effect of ‘channels are git repos and we pull and describe them as such’. There's no code to deal with uncommitted changes because it's not something a ‘real’ channel would serve.
<str1ngs>right now I roll back to 0 then delete all generations then install my manifest.
<str1ngs>I'd rather just be able to rename the current generation
<nckx>str1ngs: Not through Guix. Guix looks at the name of the current generation file name and just blindly adds 1. You could try renaming the profile (and adjusting any relevant symlinks!), entirely at your own risk.
<nckx>Whether that's worth it depends on your goal.
<dongcarl>Hey all... I got riscv64 cross-toolchain working locally, and was able to successfully build `./pre-inst-env guix build --target=riscv64-linux-gnu hello`
<dongcarl>However, I couldn't build `coreutils` because apparently riscv64 doesn't have std iostream?
<nckx>krafter: I use it to load a tonne of modules ("dm-crypt" "xts" "serpent-avx-x86_64" "ahci" …, 15 others), it definitely works. Sounds like you were trying to load modules that didn't exist. The error handling can certainly be improved but the message is probably accurate.
<nckx>krafter: You should also be able to roll back unless you added them right out of the (installer) gate, a reinstallation shouldn't be needed.
<krafter>nckx: How could I rollback if I can't get to a shell. I still have the installation medium.
<nckx>(That all sounds trivially obvious, I know, but it should just work if modprobe $foo did.)
<nckx>krafter: It should be obvious if you get the pretty menu (‘GNU system, old versions…’ or something). Do you get a menu?
<krafter>I have previously but there was always only a single alternative.
<nckx>str1ngs: The only way to test for Esc in grub is to ‘sleep 1’ and test the exit status, ‘keystatus [--ctrl] [--shift] [--alt]’ returns immediately (hence suitable for timeout==0) but can only detect those 3 keys, not Esc.
<krafter>*I can add the named modules with modprobe without issue.
<nckx>krafter: Interesting. For example, I know that the ‘_’/‘-’ interchangeability in module names is actually hacked together with silly string in kmod(?) or elsewhere, and Guix tries to emulate its rules, but maybe the emulation is incomplete.