IRC channel logs

2020-08-22.log

back to list of logs

<hendursaga>Nvm, it's python-xyz.scm, that guix import pypi command is pretty useful. A little buggy, though, on those backports inputs.
<midnight>Was that one of those "woops, is *that* what the clear users command does" things?
<hendursaga>There should be a "do you REALLY want to do that?" warning or something
<nckx>midnight, hendursaga: It was definitely my fault! It's just not clear how -- I'm quite aware of what *!*@* is 🙂. However, it's far more likely that my horrible mess of user scripts (now thoroughly exorcised) is somehow to blame than external malice. I can't find any evidence of compromise anywhere on my server, nor did my Matrix account appear to have been involved. I've changed all my passwords and credentials just in case and will keep an eye on things.
<midnight>heh heh.
<midnight>nckx: I'm not upset even in the least, so, no fault to assign my fellow human! :)
<nckx>The good news is of course is that we have a new guest, jess, who we can now convince to install Guix!
<midnight>jess: Do eet
<jess>:o
<nckx>Remove one is and profit.
***ChanServ sets mode: +o lfam
<lfam>Howdy
<lfam>🤠
<lfam>I wonder about the so-called "mirror" system in (guix download)
<rndd>ok, i understand, this is stupid question. but, how to restart pulseaudio in guix system? i looked in herd status, there is no pulseaudio 0_o
<lfam>rndd: I would just kill the pulseaudio process. Whatever is using it should start it again automatically
<rndd>this is not right
<lfam>The linux mirrors mean that we *always* download from a server in Norway
<nckx>You wonder that it's kind of mediocre?
<nckx>Ah yes.
<nckx>You do.
<lfam>It would be nice if it could pick from the list randomly
<lfam>rndd: What do you mean?
<nckx>rndd: PulseAudio is not a system service, I don't think it's designed to be. It runs as your user and is normally started on-demand by PA clients.
<rndd>ok, maybe i have a wrong idea of pulseaudio. in debian i could "systemct restart pulseaudio". so i thought this is same here
<pkill9>chromium keeps crashing lol, this is the end result of bloat
<lfam>rndd: You're right about Debian, but it works differently on Guix System
<nckx>I'm not an expert either, the first thing I do when doing Real Audio Things is kill PA and start JACK...
<lfam>There actually is a pulseaudio service for Guix System, but I don't believe it needs to be used
<nckx>It's not enabled here.
<rndd>lfam: ye and it is in %desktop-services
<lfam>On my Guix System, which is an MPD server, it doesn't use the service. MPD starts it when it needs it, and then other applications can use it
<rndd>by defauuld
<lfam>I see. I'm not using %desktop-services
<rndd>0_0
<rndd>-_-
<Formbi>btw
<Formbi>in my opinion Pulseaudio has a bad reputation for no reason
***ChanServ sets mode: -o nckx
*nckx scurries away.
<Formbi>almost all the problems with sound that I happened because something was using ALSA and not Pulseaudio
<lfam>I think its bad reputation is not deserved, but "changed things" will always make people upset
<Formbi>that I had happened*
<rndd>=(
<lfam>Right, applications that doesn't support pulse will break everything when they grab ALSA
<rndd>i could systemctl restart pulseaudio for 5 years
<lfam>Also, Guix Pulseaudio support is currently broken on foreign distros
<lfam>rndd: Do you still need help?
<rndd>lfam: i tried to run gui app in docker with sound. the guide i'm reading telling me to restart pulseaudio
<rndd>soooo
<rndd>if anyone had same issue
<rndd>0_0
<lfam>The issue is that you can't figure out how to restart it?
<rndd>lfam: i killed all pulse processes
<rndd>but nothing changed
<lfam>After you killed them, did they start again?
<rndd>yep
<rndd>i hace icecat running
<rndd>so maybe because of it
<rndd>*have
<rndd>btw
<rndd>i will try to solve it myself
<rndd>where i can read about guix pulseaudio?
<lfam>Here: https://guix.gnu.org/manual/en/html_node/Sound-Services.html
<rndd>lfam:thank you
<bluekeys>Ummm.. What happened earlier? Everyone got banned?
<lfam>bluekeys: Not sure but it was a mistake
<lfam>Welcome back
<bluekeys>Good to be back
<rndd>so, as i understand, i don't neen (service pulseaudio-service-type) in my config?
<Formbi>you can modify it if you wish
<rndd>hmm
<OriansJ`>ok ChanServ behavior
<pushcx>come see the violence inherent in the chanserv?
<OriansJ`>pushcx: well it did ban me for some insane glitchy reason
<pushcx>Yeah, probably an accident trying to respond to the troll who was in earlier. I appreciate the ops dealing with the abuse, this is a minor inconvenience.
<terpri>+1
<lfam>It was a mistake OriansJ`
<OriansJ`>lfam: these things do happen, I am just glad I don't have to go some annoying route to get unbanned
***catonano_ is now known as catonano
<luhux> https://paste.debian.net/1160818/
<luhux>I am defining a game service in Guix. It seems that the wrong definition will cause shepherd to suspend on the wrong service and no socket is provided. Here is the code and log ^^^^
<pkill9>I thought pulseaudio 'captures' applications that try to use ALSA
<pkill9>i think pulseaudio has a bad reputation because in the beginning it was very buggy
<pkill9>combined with people hating change
<pkill9>and even though it generally works pretty well, the myth lives on
<pkill9>that it's just bad for.. some reason
<luhux>this is my `guix describe` output: https://paste.debian.net/1160819/
<hendursaga>Where can I obtain the current kernel config?
<mroh>/run/current-system/kernel/.config
<lfam>hendursaga: It should be found at /run/current-system/kernel/.config
<lfam>Unbelievable :)
<lfam>I saw your message as I pressed the Enter key
<lfam>I wonder what you win in the Guix lottery
<mroh>yeah, same for me ;)
<hendursaga>I assume that location is Guix specific?
<lfam>Yes, the /run/current-system and /run/booted-system are Guix specific
<lfam>I think that looking in /run/booted-system will actually be the better choice, because otherwise you may see the wrong config after you reconfigure and before you reboot
<hendursaga>Well, a diff shows they're no different at present, but I'll that in mind :)
<lfam>It would typically happen seldomly, when you change the major kernel version
<lfam>I wonder if we should make it appear at /proc/config.gz
<lfam> https://cateee.net/lkddb/web-lkddb/IKCONFIG.html
<hendursaga>Cool. I ran 'make menuconfig' and it complains it can't find /usr/bin/awk - when scripts point to hard-coded paths that aren't there, on Guix, what should I do?
<lfam>I suppose it's redundant on Guix System
<lfam>Hm, I'm not sure the best way. If it were me I would make it a Guix package and let patch-source-shebangs take care of it
<lfam>You could probably use that procedure "by hand" in the Guile repl
<hendursaga>That's what I thought, haha. Hmmm. Well, there's already a linux-libre package, but how might I get it to point to a local repo for my changes?
<lfam>Well, I suppose you'd have to give it a list of dependencies and where to find them.
<lfam>I've made packages that inherited the linux-libre package and simply changed the source field
<hendursaga>Oh? I'm not as familiar with Guile as I'd like, how would I do that?
<lfam>Then I set it up to be used $GUIX_PACKAGE_PATH or a Guix channel
<lfam>The linux-pam-1.2 package is a good example: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/linux.scm?h=v1.1.0#n1182
<lfam>It inherits from the linux-pam package but changes the version and source fields
<lfam>If you want to see how to use some local packages with $GUIX_PACKAGE_PATH, you can try adapting my repo: https://github.com/lfam/pkgs
<lfam>If you want to use a channel (which will enable remote use), check the manual: https://guix.gnu.org/manual/en/html_node/Channels.html
<lfam>If you're not familiar with Scheme, you'll want to note that the "module path" and the filesystem directory structure are correlated: https://github.com/lfam/pkgs/blob/master/leo/packages/borg.scm#L20
<lfam>So, (define-module (leo packages borg) ...) must be in a file found at "leo/packages/borg.scm"
<hendursaga>I've contributed to GNU Guix before, yeah. I just wasn't familiar with the inheritance part.
<lfam>Okay, cool
<hendursaga>Wouldn't I have to run 'make menuconfig' though if I wanted to include my custom (hello world, of course) module though??
<hendursaga>I suppose I could manually edit the file, though. I'm working my way through Linux Device Drivers, 3rd edition, for context.
<lfam>Hm, I'm not sure the best way. Hopefully someone else has an idea
<lfam>Too bad there are fewer people here than usual
<hendursaga>I'm sure the folks who packaged the linux-libre package might be able to help.
<lfam>You might get good advice on the mailing list hendursaga
<lfam>Those people tend to monitor it
***apteryx is now known as Guest87989
<pkill9>is there a VPS service that builds a VPS using a guix configuration?
<lfam>What do you mean pkill9?
<Guest87989>I think Digital Ocean supports deploying Guix to it
<pkill9>lfam: so you just give it a guix configuration and it installs guix with that configuration to it
<lfam>I would love something like that pkill9. I've thought about trying to make it myself
***apteryx_ is now known as apteryx
<apteryx>pkill9: look 'guix deploy' in the manual. It has support for Digital Ocean. I've never personally tried.
<mroh>nice to see that emacs can be as confused as me when dealing with gexps ;) M-q on a expr w/ lots of gexps yields "nil", code gone ;)
<luhux>Hello, I have multiple wireless network cards, how should I define multiple wpa-supplicant services in the system configuration file?
*apteryx without looking: can't you use one service per interface?
<apteryx>luhux: ^
<pkill9>is there a way to scan a CMakeLists file to get all the dependencies?
<pkill9>hmm don't think there is a completely reliable method
<apteryx>pkill9: perhaps cmake has a command itself?
<apteryx>to achieve this
<apteryx>I think it can produce graphs, which means it should have an idea of dependencies
<pkill9>interesting https://cmake.org/cmake/help/latest/module/CMakeGraphVizOptions.html
<pkill9>maybe an importer for cmake projects could be made, that's pretty much what i intend to do
<pkill9>if it's possible
<pkill9>just import all the things
<str1ngs>pkill9: sounds like an interesting project.
<apteryx>by what magic are the debug symbols produced in the first place in the gnu-build-system?
<apteryx>I don't see the '-g' compilation flag.
<pkill9>i think the graph producer only works *after* cmake has found all the dependencies, which isn't useful for an importer, oh well
<str1ngs>apteryx: probably it is build with debug symbols then they are stripped on install. where as the debug install is not stripped of debug symbols. see make-debug-file
<apteryx>str1ngs: the part I'm interested is "built with debug symbols". That's not something on by default in GCC (you need '-g'), and I don't see where we turn this on in the gnu-build-system.
<apteryx>In fact, I'm starting to thing we are striping pretty much nothing, as my debug session leads me to believe.
<apteryx>to think*
<apteryx>example: (gdb) symbol-file /gnu/store/cr2r9ma109rmm46bfkily661sgpwnnv5-qtserialbus-5.14.2/lib/qt5/plugins/canbus/libqtsocketcanbus.so -> (No debugging symbols found in /gnu/store/4n962icmg4x9safkgwyg8f1jrp0i9zxz-profile/lib/debug//gnu/store/cr2r9ma109rmm46bfkily661sgpwnnv5-qtserialbus-5.14.2/lib/qt5/plugins/canbus/libqtsocketcanbus.so.debug)
<str1ngs>well strip is called with --strip-debug
<str1ngs>technically GUIX strips . does not strip on install small detail.
<apteryx>but gcc needs to have built the binaries with debug symbols in the first place
<str1ngs>as I mentioned probably all packages have symbols but they are stripped out for out. but kept for debug outputs
<str1ngs>this is in the context of gnu-build-system btw
<apteryx>str1ngs: that's correct. But does simply building something with gcc, without -g, produces debugging symbols? I understand the mechanic and idea, for if debug symbols are not there in the first place, it's not useful.
<apteryx>would there be symbols to strip even when compiling without the '-g' option?
<apteryx>oh, I think I'm confused. Symbols vs debug information. Not the same thing. Symbols should naturally be present in any binary unless stripped.
<apteryx>well, they may overlap. Not totally sure still.
<str1ngs>I think auto tools projects build with debugs symbols by default. most projects you can install with make install-strip
<apteryx>that may be the explanation
<apteryx>Qt stuff doesn't use autotools
<apteryx>perhaps it doesn't keep the symbols by default
<apteryx>I'll look into it tomorrow, thanks!
<luhux>apteryx: I can’t do that, because each wireless network card needs a separate wpa_supplicant.conf configuration file
<bqv>what the actual fuck
<bqv>who did that
<str1ngs>bqv: are you referring to being kicked from channel?
<bqv>yes
<str1ngs>earlier in the day there was some spamming mitigation. unfortunately some friendly fire occurred.
<str1ngs>spam*
<brendyyn>"some". literally everone in the multiverse got banned.
<str1ngs>on the bright side there was literally zero spam for a short period of time.
***rEnr3n5 is now known as rEnr3n
<paul__>Hey all! I am stumped: what are the URLs of files for substitutions downloaded from https://ci.guix.gnu.org/? I can't find a spec in the docs, and using `--debug=10` still doesn't show the actual URL being queried. It outputs something like https://ci.guix.gnu.org/nar/lzip/...-guix-module-union which just 404s. I ask because i want to set up a transparent caching proxy between myself and ci.guix.gnu.org to
<paul__>speed things up, but want to experiment a bit first.
***apteryx is now known as Guest86213
***apteryx_ is now known as apteryx
<kmicu>( ^_^)/
<paul__>Well, i still haven't figured it out, but it looks like a transparent CDN in front of ci.guix.gnu.org works well.
<janneke>paul__: guix build hello => ... downloading from http://kluit.dezyne.org:8181/nar/gzip/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10 ...
<paul__>janneke: yeah, i tried that - but if i curl that URL, it returns 404
<paul__>so i suspect that there is something that `guix build` is hiding
<paul__>(i might be wrong though)
<janneke>hmm
<janneke>for hello, this urls works: https://ci.guix.gnu.org/nar/lzip/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10
<janneke>paul__: you may have to use --no-grafts with guix build
<paul__>janneke: Interesting! I must've had bad luck when i copied an example URL.
<janneke>yeah, "hello" for example, is not grafted
<paul__>Anyway my CDN is now working, and it's blazing fast, so that's nice.
<janneke>good :-)
<paul__>It's an investment in the future - i'm test-driving Guix in VM, and i'm sure i'll clean install again soon
<paul__>Another stupid question.. How can i persist the --substitute-urls setting? I can't see it in the docs, although i'm sure i'm just bad at reading...
<janneke>paul__: see -- Scheme Variable: guix-service-type in 8.8.1 Base Services
<paul__>janneke: i'll have a look, thank you! \:)/
<janneke>you can override substitute-urls
<janneke>you'll have to use "modify-services"
<paul__>Ah i think i see a nice example in https://guix.gnu.org/manual/en/html_node/Using-the-Configuration-System.html
<paul__>Uh oh, another n00b question. I am trying to run `sudo guix system reconfigure /etc/config.scm`, but it's saying i should `guix pull` first. However, running `guix pull` with my normal user doesn't solve the warning. Running it multiple times is a no-op.
<paul__>I tried `hash guix` but that didn't seem to do anything. The hint to set my PATH first is vague -- what should my PATH be?
<guix-vits>str1ngs, leoprikler, nckx, et all: about SBC: Probalby i was needed to (as the boot-loader worked good, and kernel, initrd, and rescue shells too) just use UUID for root-fs.
<guix-vits>paul__: sudo -E guix system reconfigure?
<guix-vits>(just maybe)
<guix-vits>IDK, honestly
<paul__>I'm surprised that it's behaving strangely, since this is a fresh installation with default options.. but probably PEBKAC :P
<guix-vits>:P
*guix-vits (What is PEBKAC i'll see on the Web, but this gesture is seems to be a Guixen secret sign)
<paul__>ah! I mean "Problem Exists Between Keyboard And Chair" -> it's my fault, haha
<guix-vits><guix-vits><fat>That why it's called Guile: it's always PEBKAC.</fat></guix-vits>
<user_oreloznog>paul: After guix pull, I always send guix package -u
<paul__>user_oreloznog: i'll have a look at that, thanks
<user_oreloznog>maybe it can resolve the warning
<guix-vits>paul__: also You can try to log-off, then log-in after `pull`.
<guix-vits>Just got this message myself.
<paul__>guix-vits: ah, that is interesting. perhaps that updates PATH
<paul__>hm, no in my case that didn't change anything. oh well, i'll see what happens when `guix system reconfigure` is finished downloading the world.
<guix-vits>That's pity that the aarch64 has so few substitutes.. Cool that mine isn't too weak.
<guix-vits>Thanks
<dannym>paul__: Yeah, guix pull is per user. If you do sudo guix system reconfigure /etc/config.scm, then do sudo guix pull before.
<dannym>paul__: One used to be able to prevent this duplicate pulling using sudo -E guix system reconfigure /etc/config.scm--but it broke for me half a year ago and wasn't officially documented anyway.
<paul__>dannym: okay, that seems like it makes sense. IIUC, once one user has done a guix pull, surely the other users' guix pull should be fast, since the updated packages are already in the store?
<paul__>weirdly, after doing `guix pull` and `guix package -u` a few times and seeing no changes, `guix system reconfigure..` still moans about what it presumably thinks is an out-of-date set of packages. does it just always complain "in case"? Or is there a way i can help it understand that in fact things are up-to-date?
<dannym>paul__: Yes, it's not that bad to "rebuild" guix package manager&recipes twice
<dannym>paul__: (You can see which "guix" executable it uses using "which guix", so for example compare: "sudo which guix", or "sudo -i" and then "which guix", and "sudo -E which guix". Guix also needs a few environment variables to be correct (HOME, USER, XDG_CONFIG_HOME)--that's what the "-E" is supposed to do. Inspect those three with various sudos if you are curious, too)
<dannym>paul__: It really depends. Guix is different to most other distributions in that it tries to give the regular user a lot of control
<dannym>paul__: So "guix system" is to actually reconfigure the operating system that boots, which is usually not something the user really directly requires
<dannym>paul__: But if you use "guix package" as regular user, that's the packages in the user's profile.
<dannym>affects*
<dannym>paul__: The latter is the rare feature--very few things support this kind of thing (I can only think of "pip --user" right now which does something like it too), so it took some getting used to
<dannym>paul__: Maybe easier to understand: I have almost no packages in /etc/config.scm : (packages (append (specification->package "nss-certs") %base-packages))
<dannym>paul__: Everything else is in my user profile
<dannym>(the programs I actually have a computer for are in my user profile)
<paul__>dannym: interesting. I was kind of expecting that it'd be nice to have a very declarative system, as in, use my global config.scm to install emacs, vlc, ... (i.e., userland programs). That way i should in principle not run into a situation of doing a fresh install on a new computer and discovering at 10pm i want to watch a movie and there's no VLC :)
<paul__>or is there an obvious way to check in and version your user profile, too?
<paul__>I guess the closest analogue i'm familiar with is Bundler for Ruby.
<brendyyn>this is generally due to an environment miss configuration
<paul__>oh and another thing: i've just introduced a new "channel" into my ~/.config/guix/channels.scm, like https://guix.gnu.org/manual/en/html_node/Channels.html 4.7.3 specifies. However, it hasn't complained that i have no make-channel-introduction stanza. Is that expected? I don't understand the difference between introducing a channel like 4.7.1 mentions vs. 4.7.3.
<brendyyn>if guix pull appears to do nothing, then you are running the wrong guix. what does `which guix` show
<paul__>brendyyn: well, guix pull did nothing a second time around.
<paul__>which makes sense because the local Git clone would now be the same as origin
<brendyyn>naturally, i thought you meant it appeared to update and then didnt
<paul__>But to answer your question, which guix => ~/.config/guix/current/bin/guix
<brendyyn>did you try with sudo -E
<paul__>no, i decided to move on and ignore the warning since everything else seemed fine. but i could go back and try that.
<dannym>paul__: Yes, you can use manifests as regular user, too. It works via "guix package --manifest"
<paul__>dannym: oh, i hadn't come across 'manifests' yet :)
<brendyyn>guix --version, and sudo guix --version should show the same
<dannym>paul__: These manifest specify declaratively what programs you have in a profile
<paul__>ah! sorry, i was getting confused about threads of conversation :)
<paul__>brendyyn: interesting -- they don't. the user's guix is 1.1.0-rc2-1.<hash> whereas root's is just a hash -- git's current HEAD.
<brendyyn>and sudo -E guix --version
<paul__>brendyyn: that gives the same as `sudo guix --version`
<brendyyn>looks like the users guix is wrong somehow, although `which` is supposed to tell you which one gets used
<brendyyn>~/.config/guix/current/bin/guix --version
<paul__>weirdly now that i've rebooted post-system reconfigure, running `guix pull` as simple user gives an error "file exists /var/guix/profiles/per-user/me/current-guix"
<paul__>brendyyn: that final one gives the same as `sudo guix --version`
<brendyyn>you probably ran something like sudo guix pull and now youve borked your users confuration by updating with root privileges
<paul__>brendyyn: i think that's exactly what i ran yeah
<dannym>Sounds veeery familar. That's a guix bug if it did that...
<brendyyn>im not sure exactly how to fix it you may need to change the permissions on it
<dannym>paul__: "readlink ~/.config/guix/current" as regular user please
<paul__>dannym: Ah! That gives "/var/guix/profiles/per-user/root/current-guix". That doesn't seem right!
<dannym>Yeah
<dannym>paul__: If you know what you did, please please file a bug and document it. I hit this bug back half a year ago and wasn't able to reproduce it.
<brendyyn>we should have some limits in place so this doesnt break your system
<dannym>Definitely
<paul__>Unfortunately i've done a mishmash of `guix pull` and `sudo guix pull` and `guix package -u` unfortunately..
<dannym>paul__: Only the guix pulls should touch ~/.config/guix/current
<paul__>but it's likely i'll redo this - it's in a "practise VM" before trying to install on my laptop
<dannym>paul__: So if you could just save the output of the command "history |grep guix.*pull" as regular user for later--there's a good chance that will break it again
<paul__>that's a good idea, let me see if i can figure out how to exfiltrate files from this vm........
<dannym>paul__: Aha, I just reproduced it
<paul__>ah! i'd make a thumbs-up emoji if i could!
<paul__>my current quest is to get mainline linux / nonfree working. unfortunately that's a requirement for my laptop.
<dannym>paul__: Should be possible to do so. I remember how it was for me when I started out on the free-software path. It took some time to de-proprietarify my life, so I remember how it was before and how it felt to always have to fuck around with not-officially-supported things (*cough* nvidia *cough*). Nowadays I'm finally over that crap--but it took years of software kludges and then slow hardware updates. Nowadays I think I should have voted with
<dannym>my wallet more (selling what doesn't work and buying what does work). It's much easier, sends the right signals and doesn't waste as much of your time...
<dannym>paul__: Do you want to be attributed as reporting the bug? I can put your name and E-Mail in the bug report if you want--it will make it into the commit message of an eventual fix...
<paul__>yeah, that's an interesting way of considering it. I have done some looking around, but it's not clear to me what modern hardware would be supported.
<paul__>dannym: sure, why not. i'm Paul <paul@denknerd.org>
<paul__>dannym: what laptop do you currently use for that purpose, out of curiosity?
<dannym>paul__: I use Lenovo X240 (but I will use Lenovo X230 in the future because it can take more RAM than the former)
<paul__>interesting. and it's compatible?
<dannym>paul__: Lenovo X240 is capped at 8 GiB RAM max upgrade
<dannym>paul__: Very compatible. Everything works, even the obscure stuff like backlight brightness setting, fingerprint reader, eDP port, VGA port, smartcard reader
<dannym>paul__: There are versions with Intel i7 which is pretty fast
<paul__>Interesting.
<dannym>paul__: The WLAN is a problem though
<paul__>Right, that is something i need. Do you just go without?
<dannym>paul__: In the beginning I just always plugged a USB Atheros card
<dannym>paul__: Works fine but it dangles around and/or is a lever
<paul__>Yeah, i'm going to be wanting to use built-in.
<dannym>paul__: Then I found some site in the internet how to patch the BIOS to replace the WLAN whitelist (having such a whitelist should be illegal :P), and then I put an Atheros Wifi M.2 card into it
<paul__>Ah, okay - that's an interesting avenue
<paul__>I wonder if mine is replaceable. Will investigate.
<dannym>paul__: I had to do quite some fiddling because the patcher was for X230
<dannym>paul__: I totally should have replaced my X240 by X230 instead :P Oh well, you live and learn
<dannym>paul__: It works fine now on the X240 though. By now I also learned how to disable Intel ME on it while I was at it, and that accidentially got me a job as UEFI developer. Now I worry a lot more about what computers without OS can do... O_O
<paul__>Yeah, the whole ME thing is pretty scary.
<paul__>I'd love to buy a completely libre machine, but it just seem that's doable if you want something vaguely modern...
<paul__>*s/just/doesn't/
<dannym>paul__: Yeah. I think it's the usual pragmatism: The laptops like X230 work for years (with some initial fiddling, but then none ever again) and are fast enough even for development work, so there's no incentive to help developing something actually completely libre
<dannym>paul__: The things that exist where all software, including firmware, are libre are usually slow (Allwinner A20, Allwinner R40 for example)
<dannym>paul__: Although I still use the latter as a build server--it's barely fast enough as a desktop, too--but you wouldn't use it in 2020.
<dannym>paul__: (In 2008 it would be totally normal)
<paul__>That about sums it up.
<paul__>I've recently ordered a new Thinkpad, and i'm hoping i haven't made a huge mistake in that regard.
<paul__>But i bought it for the solid hardware and keyboard, kind of crossing my fingers for the rest.
<paul__>I realise this is super off-topic, so let me know if i should get my coat.
<dannym>paul__: Yeah, keyboard is so good on those things, and they are mechanically stable (no weird parallelogram when you pull them on one edge). Also, they don't overheat when you compile things (Acer *cough*)
<dannym>paul__: I think Lenovo is a safe bet because (1) They had horrible backdoors in their network switches before (that's a good thing because now they are on the lookout--their image would be tarnished beyond repair if they ever did it again), (2) They actively advertise Linux support and (3) A lot of Linux kernel developers use Lenovos.
<paul__>I hope so! I guess i just worry i'll need non-free iwlwifi. But i can live with that.
<dannym>paul__: For completeness: wikidevi has a list of free-software-only wlan chips and packages
<dannym>paul__: My notes say I got AR9462 package, AR9271, AR5B22
<paul__>dannym: interesting, i don't know that one, will have a look!
<dannym>paul__: (lspci says, Qualcomm Atheros AR9462 Wireless Network Adapter)
<guix-vits>?: Why building linux-libre*.xz uses only one CPU core?
<nefix>hello! I'm getting this error: `Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory` but I have the `dbus-service` in the services operating-system field
<nefix>what am I missing?
<guix-vits>xz has --threads=N: "specify the number cf worker ..."
<guix-vits>nefix: IDK: logind is installed?
<nefix>guix-vits: what is it?
<nefix>(this is inside a Docker container)
<nefix>so I highly doubt it is
<guix-vits>nefix: * elogind
<guix-vits>I was unable to start sway without it.
<guix-vits>So maybe those bus-things.. khm. IDK.
<nefix>hmm
<nefix>but I want to use the host X's
<nefix>not to start them inside the container
<nefix>I've shared the DISPLAY env and the /tmp/.X11-unix dir
<guix-vits>nefix: Interesting, do Docker has some options like --share=dir? Maybe it just cannot access the file.
<nefix>yeah, you can mount host directories inside the container
<guix-vits>because it is container, and should have a limited access to the host.
<nefix>but the thing is that I have it working inside an Arch container and I just have to share the /tmp/.X11-unix directory
<nefix>and /dev/shm
<guix-vits>But it also wants this socket-file?
<nefix>what do you mean?
<guix-vits>"/run/dbus/system_bus_socket: No such file or directory"
<guix-vits>Isn't it neither in /tmp, nor in /dev/shm?
<nefix>yeah, that's what I'm not getting
<nefix>because in the Arch container dbus it's not even installed
<nefix>guix-vits: so it wasn't dbus, it's fontconfig that's not being found
<nefix> https://guix.gnu.org/manual/en/html_node/Application-Setup.html
<guix-vits>nefix: Wow.
<nefix>aaaand found why. I'm installing it directly through nix-env, and thus it's not loading .guix-profile :/
<nefix>but guix import nix doesn't seem to work
<raghavgururajan>Hello Guix!
<nefix>guix import nix seems to hang in an infinite loop, and strace shows `read(14, " ", 1) = 1` all the time
<nefix>hello!
<raghavgururajan>dannym, Hey o/ You are here!!!
<guix-vits>Hello!
<zjgkkn>Hello! Where i can find kernel config of current running system?
*guix-vits listens soundtracks of Wesnoth, and waits when the "Ядро доконпеляется".
<nckx>Morning Guix
<guix-vits>o/
<nckx>zjgkkn: /run/booted-system/kernel/.config
<zjgkkn>nckx: thank you!
<raghavgururajan>nckx: o/
<raghavgururajan>Julien Lepiller is str1ngs, correct?
<nckx>No.
<nckx>rop tat.
<raghavgururajan>Ah yes!
<raghavgururajan>Tanks1
<raghavgururajan>Thanks!
<nefix>does someone use guix import nix? I can't figure out how to make it work it and maybe I'm missing something
<nckx>guix-vits: xz -T64 produces different output than xz -T1 which produces different output than plain ‘xz’. Different runs of xz -T<constant> *seem* to be reproducible, so we could *perhaps* hard-code -T2, but it's not very tempting, sorry.
<guix-vits>nckx: I got it, thanks. Is this the case for bzip et all?
<raghavgururajan>sneek, later tell roptat: Long ago, we were discussing OpenVPN service type on ML. I have a doubt on how to use ".pem" file. Would you be able to provide me an example code-snippet to use https://bin.disroot.org/?01fcaa4a5c56a16b#33G471c65pdf7k9X8XWtnDbJQWxN8xhhRoe94Hc9o8Z9
<sneek>Will do.
<nckx>Actually, testing, xz -T1 now produces the same output as ‘xz’, which I don't think used to be the case. But that doesn't help us.
<guix-vits>The reason why i asking is: I didn't timed it, but it "feels" that prepare the linux.xz takes at least the same amount of time as build the actual kernel.
<nckx>guix-vits: I don't know, are you asking for Guix? I'd look at zstd today, not bzip2 🙂
<nckx>Let's see if zstd's -T is more reproducible.
<nckx>guix-vits: I don't doubt that.
<guix-vits>nefix: What the package You're trying to import from nix?
<guix-vits>nckx: In addition to Gash we need a fast reproducible compressor. The developers may call it Rabbit.
<nefix>vscodium
<nefix>guix-vits: ^
<nckx>guix-vits: zstd is fast (even when single-threaded) and reproducible, but I can't get -T64/zstdmt to actually spawn more than 1 thread. Maybe it's not enabled by default.
<nckx> https://github.com/facebook/zstd/issues/999#issuecomment-474125238
<guix-vits>nckx: :D
<guix-vits>nefix: what the command is? `guix import nix ..`?
<guix-vits>IDK what is ATTRIBUTE
<nefix>guix import nix /path/to/nixpkgs <package> <- guix-vits
<nefix>or at least that's what the docs say: https://guix.gnu.org/manual/en/html_node/Invoking-guix-import.html
<nikita`>did someone type the wrong ban regex last nigh?
<nikita`>*t
<guix-vits>Oh. Sorry, and thanks.
<nckx>nikita`: Sure.
<nckx>Welcome back.
<guix-vits>nefix: *Probably* making a new package isn't that hard: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vscodium-git
<guix-vits>While the `import` is stil not finished on my laptop.
*guix-vits "eval-only", heh
*raghavgururajan just freed 56388 MiB on Bayfront
<guix-vits>raghavgururajan: ?
<raghavgururajan>guix-vits, `guix gc` :-)
<nckx>Join us now and free the garbage ♫♪♪
<guix-vits>raghavgururajan, nckx: I heard that Guix build farms do not use deduplication. Is that true?
<raghavgururajan>guix-vits, I have no idea what that is.
<nckx>guix-vits: Where did you hear that? I'm not aware of that being true.
<raghavgururajan>nckx: Why is that "deleting `/gnu/store/trash'" and "deleting unused links..." phases of `guix gc` takes forever?
<guix-vits>nckx: on #guix. Like: gc takes so much time if that is switched on...
*nckx → b'day partay.
<raghavgururajan>nckx: Your's ?
<raghavgururajan>If so, Happy Birthday! nckx
<guix-vits>nckx: o/
<nefix>guix-vits: sorry, I was making lunch and eating and that stuff
<nefix>the import hasn't finished in my laptop neither
<nefix>the thing with the package is that has electron, which isn't packaged and it has inside a chrome, which might create a license problem
<guix-vits>nefix: afaik, we can run nix on top of Guix, and install their packages directly.
<nefix>the culprit seems to be the command 'nix-instantiate --strict --eval-only --xml -A vscodium .'
<nefix>guix-vits: that's what I was doing, but it throws the fontconfig error
<nefix>because it's packaged with nix, it doesn't search inside ~/.guix-profile
<guix-vits>Ah. Bad.
<guix-vits>nefix: Did You ran `fc-cache -rv`?
<guix-vits>nefix1: ^
<nefix1>yep
<nefix1> https://dpaste.com/7LFU2X5TU
<guix-vits>nefix1: And if You create a s.link: ~/.local/share/fonts --> ~/.guix-profile/share/fonts ?
<guix-vits>will vscodium use these?
***nefix1 is now known as nefix
<nefix>nope, same
<nefix>oh, wait
<guix-vits>after another fc-cache -rv?
<nefix>it's working now!!!!
<nefix>but I don't like the thing that it requires manual intervention
<nefix>and it's not "builtin" in the docker image
<guix-vits>nefix: Infidel! Show the better respect to holy Duct tape, and It's ways.
<nefix>xDDDD
<nefix>sorry sorry :((
*guix-vits amen
<nefix>xD
***ChanServ sets mode: +b *!*@*.hot-chilli.net
<nefix>well, if it works.... :shrug:
<guix-vits>nefix: IDK, but maybe: Did You tried the nix-service, or just installed nix?
<nefix>guix-vits: I added nix-service-type in the services fdield and added nix in the packages field
<sneek>Got it.
<sneek>Will do.
<guix-vits>sneek: forget it?
<sneek>Okay.
<nefix>what was that?
<guix-vits>nefix: neither plane, nor superman, lol.
<nefix>was this the person who sent the link porn yesterday?
<leoprikler>a bird, then
<guix-vits>A bird promoting p!rn? Humanity is in danger.
*guix-vits zelously searches the link, lol-lol.
<guix-vits><fat>The video was non-free!?</fat>
<nefix>how can I list the fonts installed in the system?
<nefix>I've installed Iosevka, but it doesn't seem to be reconised even after `fc-cache -rv`
<guix-vits>nefix: fc-list, maybe?
<nefix>it seems to be installed
<guix-vits>nefix: but it isn't appear in some app?
<nefix>it doesn't seem to be recognised inside vscodium
<guix-vits>nefix: if You did installed Iosevka after vscodium, maybe try to relogin? Probably vscodium has some background process.. or so?
<nefix>nope :/
<nefix>oh wait
<nefix>it's working, nvm
<nefix>xD
<nefix>thanks for all your help, guix-vits !!
<raghavgururajan>Oh crap! Again?
<nefix>who's them?
<raghavgururajan>A dev/supoorter at Hyperbola
<raghavgururajan>Use to be in active in Guix
<guix-vits>nefix: np.
<raghavgururajan>jess: Did you notice the above strike?
<jess>yeah they beeped me in #freenode too
<raghavgururajan>Marvelous!
<oliv3>hi, how to get a package into guix ?
<jess>if hot-chilli.net doesn't sort it out, i'm going to say they are functioning as an open proxy
<guix-vits>oliv3: https://guix.gnu.org/manual/devel/en/html_node/Contributing.html#Contributing
<jess>and will thus consider submitting the IP to an IP reputation service that'll prevent it connecting to freenode
<jess>so, if you have contacts with hot-chilli, i'd suggest you get them to stop this user accessing their service
<guix-vits>oliv3: or write to whishlist, or ask there.
<oliv3>guix-vits: well i'm the author of https://biniou.net (https://gitlab.com/lebiniou/lebiniou), Debian maintainer for it and it's packaged following the GNU recommendations
<raghavgururajan>jess: On it!
<guix-vits>oliv3: Cool (whishlist, just in case: https://libreplanet.org/wiki/Group:Guix/Wishlist).
<oliv3>thanks, looking at this
*guix-vits "Cool that lebiniou packaged in Arch. Their PKGBUILDS is relatively easy."
<Kimapr>Why does guix system installer redownload all things of my system even though cow-store contains it from previous guix installer run (yes, i checked)?
<guix-vits>Kimapr: IDK, but if installing from a Guix System (not installer image) this isn't happened to me today.
<Kimapr>I grepped `ls /mnt/tmp/grub-inst and it indeed contained a ...-system item`
<Kimapr>Maybe it didn't find it in the database and thus downloads substitutes
<guix-vits>Kimapr: be careful if You want to manipulate the files in Store: I'd sed'ed a few (device node name), and was unable to pull (not related to my ssl issues from yesterday).
<Kimapr>I didn't manipulate store items or anything, i just started cow-store, started building system, went away, unexpected shutdown happened (someone unplugged computer by mistake), then started cow-store with same parameters and i could find a system in /mnt/tmp/guix-inst and same store item in /gnu/store
<Kimapr>Yet when i tell guix to build that same system it redownloads everything it already downloaded before reboot.
<Kimapr>Yes, i mounted everything properly
<guix-vits>Kimapr: I mean: in case You now want to symlink the /gnu --> /mnt/gnu or so.. am sorry.
<raghavgururajan>jess: Today's spammer account was created from an IP, 199.58.81.145
<jess>montreal
<jess>ah
<jess>145.81.58.199.in-addr.arpa domain name pointer anon.riseup.net.
<jess>they're just using weird public-ish proxy stuff. annoying
<raghavgururajan>So they were using some kind of canadian network proxy from the beggining
<str1ngs>damn Canadians. eh!
<raghavgururajan>str1ngs, its proxt network. Nothing to do with Canadians :-P
<str1ngs>raghavgururajan: I shall call the RCMP!
<raghavgururajan>RCMP?
<str1ngs>Royal Canadian Mounted Police
<raghavgururajan>I see.
*raghavgururajan is itched by the message that spammer left
<raghavgururajan>What blog?
<guix-vits>raghavgururajan: guix.gnu.org/blog. Internationalization is a difficult topic!
<raghavgururajan>The spammer got pissed of by Internationalization? That is old and doesn't sit well
<guix-vits>Then reduced bootstrap binaries.
<oliv3>guix-vits: ok, added it. i suppose someone watches the page ?
<oliv3>i mean do i need anything else done ?
<guix-vits>oliv3: I thinks so. The history of the page shows some activity.
*guix-vits heh, those-not-generic-kernels take a lot time to build
<kristofer>who
<kristofer>woops. good morning guix
<guix-vits>Hello kristofer.
***caleb_ is now known as calher
<guix-vits>Thanks.
***ChanServ sets mode: +o lfam
<Kimapr>Hello, I installed Guix system on gpt disk close to disk's start to work around BIOS bug that doesnt let it read stuff after 128GiB on usb drives but instead of booting properly, GRUB first gets stuck at Welcome to GRUB, then it shouts at me that it cant find my root fs (which is beyong 128GiB) and a thing on it, then it shows me themeless text men
<Kimapr>u. I tried to ls my root partition in commandline but it says unknown filesystem. Executing nativedisk command makes matters worse as it loses ability to read ANYTHING, and becomes unresponsive. Installing it with nativedisk disk-module gives same problem. What may i do besides installing DUET and install efi bootloader instead?
<Kimapr>Is there any reason i cant install efi grub from system booted with bios?
<str1ngs>Kimapr: does your motherboard support EFI?
<Kimapr>Nope, it is just BIOS
<str1ngs>then use grub bios instead
<Kimapr>If it did support EFI i wouldnt mess with bios at all
<str1ngs>which should be grub-bootloader I think
<Kimapr>I dont want to mess with BIOS anymore, i just spent almost a week because of a stupid BIOS bug
<Kimapr>I already used bios grub, and it doesnt work
<str1ngs>it seems your BIOS does not support USB drives greater then 128GB?
<str1ngs>Kimapr: also if you are using grub bios then you need either MBR partions or you have to create a grub BIOS partition.
<Kimapr>Yes, i did say that
<str1ngs>your disk partions are GPT?
<Kimapr>Yes, and i do have a grub bios partition
<str1ngs>okay, are you able to boot other Linux from USB?
<str1ngs>though I wonder if it's worth using USB if you can just use SATA or something.
<Kimapr>I cant use SATA as i dont have a spare sata drive
<str1ngs>do you have spare drive space atleast?
<Kimapr>And yes i can boot other linuxes as long as they are fully contained before the 128GiB limit, say guix installation image
<Kimapr>I also had DUET on flashdrive and it booted my system stored at end of 1tb drive just fine
<str1ngs>can you just create a 128GB at beginning for root GUIX partion?
<str1ngs>I don't know what DUET is
<Kimapr>DUET is UEFI but for BIOS
<pkill9>what's DUET?
<pkill9>oh
<pkill9>lol didn't read the last few lines
<Kimapr>You boot it and enjoy the EFI world
***caleb_ is now known as KE0VVT
<apostolis>Hello, is there a vnc server package/service for guixsd
<apostolis>?
<pkill9>tigervnc client and server is packaged in guix
<nckx>Evening Guix!
<sneek>Welcome back nckx, you have 1 message!
<lfam>Bad bot
<lfam>You were supposed to have forgotten that
<nckx>Meh, I'm good but not great.
<apostolis>pkill9 : Nice, will look into it.
<lfam>Sorry everybody. That sort of stuff is strictly not allowed on this channel. It's a mistake that the bot let it through
<nckx>They thought the nicknames they used were banned? Oh dear.
<lfam>Who knows
<nckx>lfam: sneek's not very good at forgetting things. :-/
<joshuaBPMan>heyo, I'm having a hard-ish time getting nginx to work as a reverse proxy. I don't really have time to get fixing it, I just wanted to share.
<blackbeard[m]>hello nckx :) how are you feeling
<lfam>joshuaBPMan: Like, in general, or specifically for Guix
<nckx>blackbeard[m]: Super excellent, thanks for asking 😊
<joshuaBPMan>specifically for guix.
<joshuaBPMan>I'm trying to set up a "developmental" local environment, that I'll deploy later on my remote host.
<blackbeard[m]>nckx: I am happy to hear that :)
<nckx>blackbeard[m]: How is you?
<joshuaBPMan>thanks for empazicing lfam! :)
<lfam>joshuaBPMan: When you have the time, I'm sure we can help you get it working. Nginx is nice but going from "zero to working" can be a bear unless you're already an expert
<str1ngs>joshuaBPMan: you have trouble configuring ngnix as a reverse proxy on guix or just in general?
<joshuaBPMan>lfam: thanks.
<blackbeard[m]>nckx: I am fine (: I hope to be done with school by next week
<joshuaBPMan>str1ngs: specifcally, as a reverse proxy.
<blackbeard[m]>and hopefully go back to send packages to guix :)
<joshuaBPMan>I am hoping to set up a website running guile..., but having nginx serve the static files like css and images.
<joshuaBPMan>It would be better to get haunt working, because the site currently doesn't need a database.
<joshuaBPMan>BUT I know how to set up a guile site faster...and learning haunt is proving troubling.
<joshuaBPMan> https://video.hardlimit.com/accounts/joshua_branson/video-channels
<nckx>blackbeard[m]: (Tentative) congratulations!
<joshuaBPMan>I've been documentating everything...Pure gile web development.
<joshuaBPMan>anyway, I've got to go!
<lfam>Good luck!
<str1ngs>on a semi related but not related note :P. In nomad I use a custom URI scheme nomad: that presents shtml as html. so it's like transparently expressions without the need for a web server.
<blackbeard[m]>nckx: thanks!! right now it is just the thesis-like document I have to write, I don't have classes or assignments anymore
<nckx>raghavgururajan: No, not mine 🙂
<nckx>But I shall keep your birthday wishes for when it is.
<nckx>blackbeard[m]: Good luck with whatever you plan on doing next, and I look forward to your patches.
<apostolis>Hello again, is it possible to install guixsd with a wifi connection? It seems that graphical interface does not work.
***terpri__ is now known as terpri
<lfam>apostolis: Yes, any kind of internet connection will work
<lfam>Is wifi not working for you?
<nckx>apostolis: Of course! 3.6.1.2 Networking (in the Guix manual) explains how to set up wpa-supplicant.
<apostolis>So I have to go manual installation, then
<nckx>apostolis: However, some wi-fi cards don't have free drivers or firmware.
<apostolis>Just looking at that.
<apostolis>Qualcomm Atheros AR9287
<nckx>apostolis: Depends on why the graphical interface ‘doesn't work’. It's just a front-end to connman (similar to networkmanager). What exactly happens?
<lfam>That should work. It uses the ath9k driver
***terpri_ is now known as terpri
<lfam>Anyways, if it's not working, it might be nice to just use a wired connection to get the system installed, and then debug this issue later
<apostolis>nckx : The graphical interface only checks for ethernet. I need to enable wpa-supplicant from the shelll, I suppose.
***ChanServ sets mode: -o lfam
<apostolis>lfam : Currently, I only have wifi, I'll look into it.
<nckx>It should definitely check for and support wi-fi. I wonder why your wireless interface doesn't show up.
<nckx>I had a laptop that required a manual ‘rfkill unblock’ first.
<nckx>You can switch to a different VT from the GUI installer (C-M-F3 or so), try ‘rfkill’ to see if your interface is blocked.
<apostolis>nckx : will do , rebooting and trying..
<nckx>You don't need to switch to manual installation just to execute a few commands.
<apostolis>nckx : good idea
<lfam>I wonder if this is <https://bugs.gnu.org/40682>
<lfam>Also <https://lists.gnu.org/archive/html/help-guix/2020-05/msg00113.html>
<nckx>It doesn't sound like it (wi-fi isn't listed at all, the installer doesn't freeze after selecting it) and 40682 should be fixed.
<nckx>Same for the help-guix post.
<lfam>Great :)
<lfam>I haven't been keeping up on things
<nckx>I wish I still had access to the laptop that triggered the rfkill issue.
<nckx>I'm convinced it's bitten other users since.
<nckx>Oh well.
<nckx>lfam: Me neither TBH.
<lfam>I thought you were watching the baby
<nckx>*baby sits in the corner smoking a cigarette playing on-line poker*
<nckx>...yeh sure.
<lfam>We need a free software online gambling platform
***caleb_ is now known as KE0VVT
*nckx founds the Freemium Software Foundation.
<lfam>A true visionary
<Kimapr>this?: https://softbroke.com/gaming-platform/
<nckx>Thank you. I think my genious is underappreciated.
<nckx>‘Soft Broke’.
<lfam>Wow
<nckx>sums it up.
***rekado_ is now known as rekado
<lfam>Welcome back rekado_
<borg`>Hi Guix community! I'm trying to set up OpenVPN, but struggling with the operating-system definition. Should it be sufficient to add something like "(service openvpn-client-service)" to the services section of the config file?
<lfam>borg`: I've never used OpenVPN, but I'd guess that you need to at least point the client at a server
<nckx>borg`: It still uses the old syntax, so (openvpn-client-service) (openvpn-client-service #:config (openvpn-client-configuration ...)).
<borg`>I was thinking to use the default from here http://guix.gnu.org/manual/en/html_node/VPN-Services.html#VPN-Services and then select the VPN config through networkmanager. Would this be a problem?
<nckx>borg`: Maybe you're interested in (vpn-plugins (list network-manager-openvpn)) for your network-manager-configuration instead.
<borg`>Would this also install and set up OpenVPN + the service or do I need both?
<nckx>I use wireguard so I can just point at things and shrug.
<borg`>Actually I would like to try Wireguard but I have no prior experience with it
<lfam>nckx: I'm curious, are you using the built-in wireguard for Linux >= 5.7
<nckx>Yes.
<lfam>Sounds like it's working well
<nckx>I often literally forget that I VPN all the things, so yes 🙂
<borg`>nckx: Are you using something like this? http://guix.gnu.org/cookbook/en/html_node/Connecting-to-Wireguard-VPN.html#Connecting-to-Wireguard-VPN
<lfam>I wonder if the wireguard author has learned their lesson regarding wg-quick 😂
<lfam>It was supposed to be an example and turned into a crucial part of the software
<nckx>Hah! borg`: I started using WG before Guix supported it so I still have a dinky custom one-shot service that simply calls... wg-quick. It works, so little motivation to migrate, but I should.
<nckx>lfam: The ‘WireGuard option’ that my VPN provider offers is a wg-quick configuration file (that doesn't work without the extensions it adds). I'm sure they're not alone in that. So yeah.
<lfam>Lol
<nckx>A lesson about API and human behaviour was learnt.
<lfam>I love wireguard but it was definitely half-baked as specified
<lfam>Never write yourself out of a job!
<pkill9>lfam: pokerth is packaged
<pkill9>there's some gambling for you
<lfam>Phew
<lfam>Finally some use for all these coins
<nckx>I can't read ‘pokerth’ in a not-Sylvester-the-lisping-cartoon-cat voice.
<nckx>Oh, maybe it's written in lisp, that would be clever.
<nckx>It is not.
<borg`>Does someone know why the example I linked above uses "(use-package-modules vpn)" rather than "(use-service-modules vpn)"?
<lfam>borg`: The example you posted doesn't use any of the pre-defined VPN services, but instead defines its own "simple-service". However, it does need to access the wireguard-tools package from the (gnu packages vpn) module. Does that make sense?
<nckx>borg`: It's for wireguard-linux-compat, which is a package.
<nckx>And wireguard-tools as lfam said.
<lfam>And also wireguard-linux-compat
<borg`>Ahh that makes sense, thanks. So "use-package-modules" to add packages from some package module (is this where they are defined in the git src, e.g. "vpn.scm"?) and "use-service-modules" for pre-defined services?
<nckx>Exactly!
<borg`>Excellent thank you!
<nckx>(use-package-modules foo bar) is simply Guix-specific syntactic sugar for (use-modules (gnu packages foo) (gnu packages bar)).
<nckx>The (real) module names mirror the directory structure, so (gnu packages vpn) is gnu/packages/vpn.scm, which is where both packages above are defined.
<borg`>Ohh I see, that makes sense
<nckx>(use-service-modules) is the same.
<borg`>That also solves the mystery of why the config repeatedly wrote (gnu packages ...)
<nckx>Some folks prefer (use-modules (gnu packages xxx) (gnu packages xxx)) because it's native Scheme and more explicit, but it's obviously repetitive.
<borg`>Can I lint my config.scm?
<nckx>s/Scheme/Guile/ one should probably say.
<nckx>Guix doesn't have any linting tools for operating-systems, but it's just regular Guile code. E.g., if you have a linter that detects unused module imports (not aware of any but sure they exist), it will work.
<nckx>You can auto-indent it in emacs. Generic stuff like that.
<borg`>Haven't really worked with Guile/Scheme before, only CL. More worried about programming errors than indentation etc. I guess guix system reconfigure will crash if something is wrong
<nckx>Trust me. It will not go quietly into that good night.
<nckx>♥ backtraces.
<borg`>Hahah, I'm counting on it
<borg`>Btw how would I blacklist a kernel module? pcspkr is driving me nuts
<nckx>The (harmless) warning or the actual sounds?
<borg`>The horrid "beep"
<nckx>(kernel-arguments (list "modprobe.blacklist=pcspkr"))
<nckx>That's a top-level operating-system field.
<borg`>Thank you.
<nckx>Unrelated, but thank *you* for reminding me to test my back-ups.
<apteryx>is it possible to refer to inputs in a snippet?
<nckx>(The nick.)
<apteryx>(an origin's snippet field, that is)
<nckx>apteryx: I don't think so. The origin is totally separate from the package it's in, it's just in-lined for convenience.
<nckx>I think it can refer to packages though.
<nckx>The variables.
<apteryx>OK, yeah, perhaps that could work. I'm trying to see if most patching could be moved in the snippet. That's nicer because you then get a source that builds without tweaking it further.
<apteryx>thanks
<apostolis>I had to pass a kernel parameter for it to work "iommu=soft", but still the graphical interface does not ask for a password.
<apostolis>Anyway, thanks for the help. I ll give it another try another time.
<nckx>apteryx: Hmm. That for one will create store references that aren't visible to the GC (since they end up inside the .tar.xz). Maybe that's harmless if you think it through... but do 😉
<nckx>apostolis: When you have more time, can you give more details? Does it show your WLAN interface now, but simply refuse to connect (‘freeze’, even, as described in lfam's links)? Feel free to send a bug report to bug-guix at gnu dot org with as much info as possible.
<nckx>Better bugs that turn out to be dupes than ones that never get reported.
<apostolis>nckx : yes it looks like the bug lfam pointed.
<nckx>Damnables.
<nckx>It's reported as ‘fixed’ somewhere, so thanks!
<apteryx>it'd be harmless if you restrain your patching to inputs actually used by the package; this way when you setup your environment they'll be populated in the store if they weren't already.
<nckx>Yes, then, but that relies a bit too much on that all matching (and not being forgotten) up for *my* comfort.
<nckx>At least add a comment pointing out how clever it's being 🙂
<apteryx>yeah, agreed.
<borg`>So after trying to set up Wireguard like in the cookbook guix system reconfigure crashes. Any ideas? Error message and relevant code portion here: https://bin.privacytools.io/?9a81ca96d8e9fba8#oQIDz0IgZN+cWkRRfilVcXq2q6iisEC8cVRc4MkUe+I=
<lfam>borg`: The %desktop-services bit is not inside the scope of the cons
<lfam>You need to move one of the parentheses from before %desktop-services to after it
<lfam>"Wrong number of arguments to #<procedure cons"
<borg`>Seems to work now, thanks!
<borg`>Is there no active firewall out of the box?
<lfam>No
<borg`>How would I go about setting that up? On other systems I have used ufw with some simple blocking
<borg`>Looking at https://guix.gnu.org/manual/devel/en/html_node/Networking-Services.html it seems nftables-service-type should suffice
<lfam>We have services for iptables and nftables. I would like it if there was something like ufw, maybe some shorthand for the common use cases
<lfam>Well, looks like there is useful shorthand for nftables
<lfam>It's a case where I think a solid Scheme abstraction for config.scm would really set Guix apart. But of course it's critical to get it right
<lfam>Something like ufw but in Scheme and declarative
<borg`>That would be neat
<borg`>Is there a convenient way to set up Emacs server/daemon in the OS declaration?
<lfam>I'm not using Emacs so I don't know the best way, but a Guix hacker has an example of doing it at the user level (not in config.scm):
<lfam> https://git.dthompson.us/dotfiles.git/tree/dotfiles/.config/shepherd/init.scm#n171
<borg`>Cool, thanks! I will have to learn some basics of Shepherd too.
<lfam>To use Shepherd in that way, you basically put a file like that at '~/.config/shepherd/init.scm', make sure that $XDG_RUNTIME_DIR points to a directory that exists, and then run `shepherd` as your user. Then you can do `herd restart emacs` etc
<borg`>So you run shepherd both as root for the init and as the user?
<lfam>Yes
<borg`>Can you use the init shepherd to start shepherd for the non-root user?
<lfam>So, to control the system-level services, you'd need to be root
<lfam>That's a good question and I don't know :)
<lfam>That would be ideal
<borg`>I will give it a try some time :D
<alexshendi>Hi guixers, what kernel version do I get when I install 1.1.0? I need support for Gemini Lake graphics. TIA.
<lfam>alexhendi: I believe you will get 5.4.31: https://lists.gnu.org/archive/html/info-gnu/2020-04/msg00008.html
<lfam> https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/linux.scm?h=v1.1.0#n830
<lfam>The current version is 5.8.2, with options to use all upstream stable and long-term kernels: https://www.kernel.org/
<lfam>I mean, 5.8.3
<lfam>alexshendi ^
<alexshendi>lfam: Thanks!
<lfam>Note that we offer linux-libre rather than upstream linux. This variant removes all non-free firmware. I figure that integrated Intel graphics will work, but I don't actually know
<alexshendi> I am currently using a custom version of Ubuntu 19.10.
<nckx>If a very recent kernel is required: http://guix.gnu.org/download/latest/
<nckx>However I'd be very surprised if the latest kernel patches were required to get graphics on your machine.
<alexshendi>I will try 1.1.0. If that doesn't work, I'll try -latest. I think 5.4 should be OK.
<borg`>I'm off. Thanks again nckx and lfam for all your helpful advice!
<lfam>Okay, you're welcome!
<apteryx>nckx: how about if I write the snippet as a G-Expression? Would that allow the used inputs to be known by the GC? Or does the GC work strictly with store files rather than metadata kept in the Guix DB?
<apteryx>I feel it should work, otherwise a bug.
<lfam>The GC works by scanning store files for store references and storing the information in the database. So it shouldn't work on compressed files
***caleb_ is now known as KE0VVT
<NieDzejkob>CI has suspiciously many evaluations in progress
<lfam>True
<lfam>Any idea what it means?
<lfam>Looks like the last evaluation that completed was one that added a new module, but it seems to not have actually done anything
<nckx>strace spams nothing but this, on a loop: https://paste.debian.net/plain/1160880
<nckx>I'm tempted to restart it unless someone wants to debug properly.
<nckx>C'mon, volunteer.