IRC channel logs

2024-12-07.log

back to list of logs

<homo>plan9 and inferno appear to have different font format, as there is sha256 mismatch between same fonts...
<homo>never mind, it's possible to use fonts from plan9port on inferno
<l00py>is guix reliable and secure and efficient as a server i wonder?
<l00py>just installed guix, seems pretty cool to have whole comp configured with just a file
<l00py>does software have to be made to work for guix or can it run anything any other linux distro can run? (not talking binary blobs, all built from source)
<wakyct>l00py: it depends, short answer it can run what other distros run
<l00py>ok good to know. slightly longer answer? or what kinda software wouldn't it run?
<l00py>and i don't mean binaries/closed source, i don't wanna run that stuff anyway
<wakyct>official packages have license considerations and some things like Rust, Javascript etc. may not be as straightforward/tarpitted as on other distros
<wakyct>you might view those things as pros or cons depending on your perspective ;)
<wakyct>I am no expert on those matters though
<l00py>oh i do wanna run some rust code ya. it requires either mac win or linux, and first 2 are out. for linux i only really wanna try guix
<wakyct>you can explore what is already packaged here https://packages.guix.gnu.org/ if you don't have an install already
<wakyct>for building Rust I'm not the best person to ask
<l00py>what browser is recommended for graphical guix with i3?
<l00py>i'll browse docs from guix itself :D
<eikcaz>divya: sorry for the late reply. I'm trying to get some of Spritely's games to work on Guix. I'll try librewolf, thanks
<eikcaz>^ which use WASM
<eikcaz>It works!!
<l00py>nice
<l00py>can guix connect to mullvad vpn?
<l00py>where in guix manual is page on firewall config? i looked at networking setup and services pages but not
<l00py>looks like guix pull only uses 1 core? any way to make it use more cores?
<l00py>im trying to build a rust crate that is failing because it's asking if cc is installed. i ran guix install gcc-toolchain but that didn't fix it any ideas?
<homo>this is attempt to use plan9port fonts https://paste.debian.net/1338618/
<homo>the problem is error Throw to key `decoding-error' with args `("decode-char" "input decoding error" 84 #<input: doc/limbotk/tk.ms 11>)'.
<homo>just in case if anyone misses this is inferno-fix-crash.patch https://paste.debian.net/1338578/
<Guest72>hi, how to change substitute-urls without using https://ci.guix.gnu.org and https://bordeaux.guix.gnu.org ?
<Guest72>SInce both these two is slow, with downloading speed with 10kb/s?
<Guest72>want to use this mirror as default https://bordeaux-us-east-mirror.cbaines.net
<Guest72>(substitute-urls '("https://bordeaux-us-east-mirror.cbaines.net"))
<Guest72>by editing config.scm during installation, but it continues to use  https://ci.guix.gnu.org and https://bordeaux.guix.gnu.org
<jakef>on a local clone of the guix repo, i ran guix pull and it failed to authenticate a commit :o
<jakef>guix git: error: could not authenticate commit 0c5d7b8480234f739448956f508307e64e8e45fa: key 5DBE 23D3 9053 6526 7F8C C76A FDB9 52BD 3F73 56D6 is missing
<peanuts>"gnu: Update otpclient to 4.0.2 - guix.git - GNU Guix and GNU Guix System" https://git.savannah.gnu.org/cgit/guix.git/commit/?id=0c5d7b8480234f739448956f508307e64e8e45fa
<jeko>Yo Guixters !
<jeko>Can I test my channel locally (I mean without pushing it to my remote repo and then guix pull) ?
<Rutherther>Guest72: that doesn't seem right. Are you sure you are not appending default substitute urls to that list, and that the guix daemon has been restarted? Also you are modifying the guix-service-type directly, not extending it, right?
<jakef>jeko: yeah i think you just provide the filepath in the url field
<Rutherther>jakef: I don't really know how you can pull from a local clone. But if that's really a thing, try "git fetch --all" - specifically to let it fetch the keyring branch that is important for auth
<hako>jakef: git fetch origin keyring:keyring
<jakef>hako: oh i need to update the keyring when a new committer arrives? that would explain it
<Rutherther>yes, it's always necessary to update it with new commiters
<jakef>Rutherther: here you go: https://guix.gnu.org/manual/devel/en/html_node/Building-from-Git.html
<jeko>jakef: Oh I yeah or I just read about guix pull -C option. thanks !!!!
<Rutherther>jakef: I don't see anything on that url about pulling
<jakef>oh sorry, i wrote guix pull and meant git pull, you got me
<Rutherther>oh, I see then
<Guest72>Rutherther thanks for reply
<Guest72>Here is full code
<Guest72> (modify-services %desktop-services
<Guest72>                       (guix-service-type config =>
<Guest72>                                          (guix-configuration
<Guest72>                                            (inherit config)
<Rutherther>Guest72: please use a paste site like paste.debian.net. Your messages got treated as spam and trimmed
<Guest72>Rutherther ok
<Guest72>paste as below
<Guest72> https://paste.debian.net/1338635/
<Rutherther>yep, you have default substitute urls there. So that contains those two you want to get rid of
<Guest72>Rutherther thanks. construct substitute-urls without %default-substitute-urls?
<jeko>jakef: finally understood what you meant: the url field in the channel definition haha still thank you ;)
<Rutherther>Guest72: exactly, just a list of the urls you want, without concating it with %default-substitute-urls
<Rutherther>or did you want to ask "how" to do it?
<Guest72>Rutherther
<Guest72>like this
<Guest72> https://paste.debian.net/1338637
<Rutherther>getting entry not found
<Guest72> https://paste.debian.net/1338639/
<Rutherther>yes, that seems fine
<Guest72>thanks for the kindly support : )
<lilyp>hey, does the gnuzilla team have mozjs 115 yet?
<l00py>i install guix, then run guix pull, then sudo guix system reconfigure /etc/config.scm, now i'm up to date. is that right? ty!
<Rutherther>l00py: it depends. Especially on first guix pull it's possible you are still using the original guix. Try "type -p guix", it should point to ~/.config/guix/current/bin/guix, that's where pull puts guix by default
<Rutherther>l00py: if it doesn't, either relog if you are on guix system, if not, you might have to source the profile somewhere yourself, ie. in ~/.profile shell equivalent. "GUIX_PROFILE=$HOME/.config/guix/current; . ~/.config/guix/current/etc/profile"
<jeko>Yo Guixters, when creating a custom channel, authenticating it needs a branch keyring, but should i commit on keyring on master since then?
<jeko>or master*
<roptat>the keyring branch only contains the public keys of people allowed to push to master
<roptat>so you continue developping on master, and only change keyring when you want to change permission on your channel
<jeko>roptat: Alright ! thank you for the clarification :)
<bdju> https://paste.debian.net/plain/1338709 anyone else get all this stuff on every new tty/ssh login shell? been going on for a while
<Rutherther>bdju: so how do you ensure your xdg runtime dir gets set and exists, does it even exist?
<whereiseveryone>Should Guix have a styleguide like lem does?
<whereiseveryone> https://github.com/lem-project/lem/blob/main/STYLEGUIDE.md
<bdju>Rutherther: no idea
<bdju>I'm probably not setting it
<bdju>I have a /run/user/1000 if that's the thing
<Rutherther>yes. So does it exist?
<Rutherther>if you are using guix home, you are setting it
<bdju>I do not use guix home... sigh
<bdju>do I have to use guix home? this keeps coming up
<bdju>I was pretty happy with manifests, didn't really wanna go deeper
<Rutherther>no, you do not have to use guix home
<bdju>seems like pipewire will need guix home too
<Rutherther>how did you figure that out?
<bdju>haven't figured anything out
<bdju>the docs only say how to set it up via guix home
<bdju>someone here told me it's technically possible to do it without, but would be much harder
<bdju>I've mostly given up on figuring out pipewire on guix anyway, but I thought maybe I could fix the login spam
<bdju>also started having an issue with my syncthing user service copied from that old guix blog post sometime in the last year or two. it takes focus on initial boot TTY1 login, I have to C-c or C-z it, it used to just run in the background and not cause issue
<jpoiret>bdju: you're not using elogind right?
<sneek>Welcome back jpoiret, you have 1 message!
<sneek>jpoiret, podiki says: did see your earlier messages now about mesa-updates and sway. will do the merge tomorrow (well, ~12 hours) assuming still looks good and then we can put libva, sway, more mesa updates on the branch for the next go round
<bdju>I have to be able to run `exec sway`
<bdju>I'm probably using elogind
<jpoiret>check if you can see it in `sudo herd status`
<bdju> https://0x0.st/Xhz3.txt
<jpoiret>other than that pipewire works very well without guix home
<bdju>it's in status
<bdju>well it's not a problem of how well it works so much as not knowing how I set it up at all
<bdju>besides installing the package, I must need something in config.scm or similar
<jpoiret>not really
<jpoiret>you just need to start it with your session
<jpoiret>so just launch pipewire and pipewire-pulse through your preferred autostarting mechanism
<bdju>is elogind gonna be a problem? why was that brought up?
<jpoiret>the error you mentioned previously on login is usually the result of not running elogind
<jpoiret>but it seems that pam_elogind doesn't run on login
<Rutherther>yeah, even the guix home service is quite simple. Apart from starting pipewire it just makes simple alsa config to use pipewire, and simple pulseaudio config to prevent autospawning of pulseaudio server
<jpoiret>also it's weird that anything in your login chain would depend on WAYLAND stuff
<l00py>Rutherther i ran sudo guix system reconfigure /etc/config.scm before i saw your reply my bad. i just ran type -p guix and it points to /run/current-system/profile/bin/guix which doesn't match what you said ~/.config/guix/current/bin/guix. did i mess up and gotta reinstall?
<Rutherther>no, you definitely don't have to reinstall anything, you did not mess up anything.
<Rutherther>relog after doing first guix pull, to get ~/.config/guix/current/bin in your PATH
<Rutherther>after type -p guix gives you ~/.config/guix/current/bin/guix, rerun the reconfigure command. Right now, you are still running on non-updated guix version
<l00py>ok gonna do that rn
<l00py>sorry taking so long i'm also dealing with a faulty ecc ram stick in server atm so sometimes boot is really slow or gets stuck and i gotta power cycle
<l00py>"cool"
<Rutherther>you didn't need to reboot, relog would do
<l00py>i didn't know how :P btw it points to right spot now so i'm running sudo guix system reconfigure /etc/config.scm again
<l00py>first line is guix system: warning: multiple "nss-certs" packages found; ... but now it's running
<Googulator>Is there a "guix time-machine --bisect"?
<ekaitz>Googulator: i don't think so, but we could make it... :)
<cancername_>Hi! I'm trying to "guix package reconfigure", and a config that worked previously <https://0x0.st/Xhiu.scm> errors while building the console keymap, ckbcomp fails because "No keycodes, nor layout specified", logs: <https://0x0.st/XhiS.drv.gz>. How should I go about fixing this?
<l00py>Rutherther reconfigure finished, it said it needed reboot, i rebooted, saw login prompt, i *think* wm (i3) is starting up there's a blinking underscore in top left of black screen
<cancername_>l00py: hey, we might be experiencing the same issue
<cancername_>when you check /var/log/gdm/greeter.log, what do you see?
<l00py>cancername_ i'll let ya know when screen is more than black with blinking underscore in top left lol
<cancername_>l00py: yep, definitely same issue. switch to a VT with Ctrl Alt F2, log in, then run "sudo cat /var/log/gdm/greeter.log".
<l00py>fwiw i did fresh install with latest download iso, then from my user account i did guix pull, then sudo guix system reconfigure /etc/config.scm and it ran. then Rutherther corrected me so i rebooted, back into user account, then ran sudo guix system reconfigure /etc/config.scm, then rebooted when it said
<l00py>k sec
<cancername_>yep, I'm also working from a fairly default system
<l00py>lowest EE is no screens found
<cancername_>mkay... anything about failing to load a keyboard layout?
<l00py>should i run it with | more so i can step through?
<cancername_>cat should be fine, or you can use "less" instead of "cat"
<l00py>i grepped, no match for keyboard
<cancername_>alright, so, different issue, but same symptom (x not starting)
<l00py>not a good look :P
<l00py>first time trying guix hehe
<cancername_>might be because of a missing driver
<cancername_>Rutherther: could you offer some guidance?
<cancername_>yay, a bug with the same error I got... from 2013 :P https://issues.guix.gnu.org/15392
<l00py>how long you been using guix?
<Rutherther>l00py: so can you send the log from gdm?
<l00py>what?
<l00py>send it where?
<Rutherther>contents of /var/log/gdm/greeter.log
<Rutherther>via some paste site, here, ie 0x0.st or termbin
<cancername_>"curl -Ffile=@file.txt https://0x0.st"
<efraim>you can also pipe it to the wgetpaste package
<cancername_>surely I'm not the only one running into this issue with a basically default config?
<l00py>i have to pull some info out first. i tried to edit with vi but i have to use on screen keyboard and it's not taking "esc+:+w+q"
<l00py>hmm
<cancername_>nano, mg
<cancername_>"qa!"?
<l00py>i tried cat file | nc termbin.com 9999 but nc isn't installed
<cancername_>try the curl I sent
<l00py>no space after -F?
<cancername_>nope
<cancername_>but you can put one if you want
<cancername_>it won't matter
<cancername_>since F takes an argument
<l00py>curl command not found
<l00py>i'm logged in as root fwiw
<cancername_>uh, I guess install either curl or nc with "guix package -i"
<l00py>what's -i do?
<cancername_>install
<Rutherther>l00py: so just guix shell curl then
<Rutherther>installing as root seems like a way to accidentally keep a lot of, unupdated, stuff around
<Rutherther>cancername_: the system config you sent builds fine for me. What guix revision are you on?
<cancername_>Rutherther: I didn't check which one I was on when I tried to build that one, let me try my current guix, one moment...
<l00py>ok https://0x0.st/Xh-N.log
<cancername_>Rutherther: "guix describe" says "d131155"
<Rutherther>l00py: what gpu do you have?
<l00py>G200eR2 (dell server)
<l00py>it's from matrox i guess
<l00py>fwiw install ran fine, after installing and rebooting into i3, ran fine. so something lost or messed up during build
<l00py>err pull and reconfigure i mean, not build
<cancername_>l00py: try installing xf86-video-mga
<cancername_>as in, putting it in your config ^^;
<Rutherther>I guess it could be one of the cards whose support has been dropped from mesa, I will have to check
<cancername_>Rutherther: how can I tell whether https://packages.guix.gnu.org/packages/xf86-video-mga/ is deprecated?
<l00py>put it in the specifications->package line under i3 and stuff then run guix system reconfigure again?
<Rutherther>why should it be deprecated?
<cancername_>Rutherther: oh, sorry, you said mesa, my bad
<cancername_>l00py: that sounds right to me but I know little about guix
<cancername_>Rutherther: could you tell me what guix rev you were on so I can try it?
<Rutherther>2a6d96425eea57dc6dd48a2bec16743046e32e06
<peanuts>"gnu: r-demultiplex2: Update to 1.0.2-2.c1ce09e. - guix.git - GNU Guix and GNU Guix System" https://git.savannah.gnu.org/cgit/guix.git/commit/?id=2a6d96425eea57dc6dd48a2bec16743046e32e06
<Rutherther>but I am trying latest as well
<Rutherther>it will take few more minutes
<cancername_>Rutherther: are there good reasons to use your older commit? are "stable versions" a thing?
<Rutherther>I have my guix versions for my system/home separate from the guix command, I don't want surprising downloads on guix shells and stuff like that
<cancername_>Rutherther: that makes sense. by the way, I've been meaning to ask this earlier, but is it currently possible to share packages between multiple users without installing them as part of the config?
<Rutherther>your system built for me even with newest guix
<cancername_>what.
<cancername_>how.
<l00py>ok i had to do guix pull then i could do system reconfigure. that ran and said i needed to update herd services but i don't know how to do that so i'm just rebooting and hoping for the best
<Rutherther>cancername_: all packages are installed in gnu store, and all users might use them. So it's just a matter of using the same version of guix, so that you end up with same derivations when you use guix shell/guix package etc.
<cancername_>I see
<l00py>it said to run herd restart SERVICE but i tried that and it said it didn't know what service was
<cancername_>try xorg-server
<Rutherther>s/all packages are installed/all packages are built
<cancername_>I even redownloaded and reconfigured the config to make sure it's still broken... is there a way to rehash the store to ensure there's no disk failure or something going on? I'm still in the process of building your older version but it likely won't succeed
<Rutherther>cancername_: yes, guix gc has verify flag, in this case use contents value so it checks fully, otherwise it would just scan for missing files
<cancername_>Rutherther: any other reasons this could possibly fail you can think of?
<cancername_>xorg also currently fails to start for failure of loading a keymap fwiw
<Rutherther>not any particular reason I can think of, if you are really building that config you sent, and using only guix channel directly from upstream
<cancername_>waiting time :D
<cancername_>yep.
<cancername_>xkeyboard-config was modified.... somehow!
<l00py>cancername_ ok rebooted but still same blinking cursor thing
<cancername_>(plus a few other random-looking packages)
<Rutherther>yeah, in that case it's very likely it was that. That is the package that has the layouts in it
<cancername_>l00py: same logs?
<cancername_>yep, xorg printed a message about that
<cancername_>I wonder whether this is just corruption from power loss or disk failure
<Rutherther>l00py: where did you put the xf86-video-mga?
<Rutherther>it should be put to modules field of xorg-configuration
<cancername_>I'm afraid that's my bad for giving the wrong advice
<l00py>i put it in specification packages line
<Rutherther>l00py: that doesn't say where you assigned it to, but likely operating-system packages then, that is not the right place for xorg modules, since xorg may not know about it
<l00py>what do i type in config.scm then?
<l00py>use-service-modules is only line that has xorg in it
<l00py>there's no xorg-configuration in config.scm
<Rutherther>please send your config
<cancername_>Rutherther: after I run "guix gc --verify=contents", it's still fucked, and a rerun prints the same verification failures, how come?
<l00py>Rutherther 0x0.st/Xh-g
<cancername_>added ",repair", now it's fixing itself
<l00py>sorry https://0x0.st/Xh-g.scm
<homo> https://paste.debian.net/1338743/ https://paste.debian.net/1338578/
<homo>this is the working inferno without proprietary fonts, it uses fonts from plan9port instead
<cancername_>🙏🙏🙏 the repair worked, thanks Rutherther!
<homo>should inferno live in its own module or is it more logical to add it to plan9.scm?
<Rutherther>l00py: https://paste.debian.net/1338746/ replace %desktop-services with this
<Rutherther>it will change gdm service configuration
<homo>and btw, am I required to provide e-mail address in copyright field?
<l00py>Rutherther ok tyvm trying now
<l00py>Rutherther and remove the  (specification->package "xf86-video-mga") line ya?
<Rutherther>sorry, forgot one line, this will work https://paste.debian.net/1338749/
<Rutherther>l00py: it's unnecessary, so yeah, you can remove it
<l00py>Rutherther are the 2 (xorg-configuration lines intentional?
<Rutherther>yes
<Rutherther>the first one stays for a field name xorg-configuration inside of gdm-configuration, the second for initialization of xorg-configuration record type
<Rutherther>also add line sowhere at top of the file "(use-package-modules xorg)"
<l00py> https://0x0.st/Xhoo.scm right? it making error
<l00py>i'll add that line
<Rutherther>what is the error?
<l00py>xf86... unbound var
<Rutherther>the line I sent will fix that, it will add that variable
<l00py>yep ty. runnig reconfigure now
<podiki>jpoiret: seeing that old sneek message just reminded me of libva. was there any patch submitted for it? i'll see if it is just a trivial version bump and if so push to mesa-updates to build
<l00py>Rutherther https://0x0.st/XhoB.log still not work
<Rutherther>l00py: sorry, I don't know then. I've also checked mesa and Matrox has been dropped for years, so it cannot be the reason it worked with guix 1.4.0, but doesn't work with latest guix
<l00py>dang
<l00py>guess i gotta give up on my guix dream for now
<l00py>tyvm for trying
<podiki>many other very old drivers were dropped from mesa in the last year or so
<Rutherther>but as far as I could find Matrox was dropped longer time ago
<podiki>perhaps was folded in with some newer driver though? that happened with some intel ones
<l00py>Rutherther maybe i could learn to use guix without any wm until i stop being a poor and buy a newer comp? the 1 problem is using the normal CLI (like alt ctrl f2 shows) is REALLY hard with no mouse. i can't copy and paste. any solutiong?
<Rutherther>there should be ways to get cursor in a tty, though I have not gotten into the ever. But another solution could be to use a terminal multiplexer like tmux, where you can copy and paste with special copy mode
<Rutherther>and if you really chose to only use cli, you would probably want terminal multiplexer anyway, since it gives you stuff like splitting screen, tabs etc.
<l00py>does tmux make mouse start working?
<Rutherther>no
<l00py>is there something i need to do to guix networking to get p2p apps to work? i can curl files down, i can ping, but i can't start a file sharing p2p app it says prob with firewall or router or whatever. but another comp on my network works fine so i know it's not router
<cancername_>l00py: what does iptables -L say?
<cancername_>l00py: for mouse support, install the "gpm" package
<l00py>no command iptables. should i guix install iptables?
<cancername_>uh, no, but that seems odd
<cancername_>anyone know whether I should install things like emacs with guix home or systemwide?
<Rutherther>it's up to you. Just make sure to install emacs packages to the same profile
<cancername_>alright! thanks!
<l00py>cancername_ odd why?
<l00py>it should be in by default?
<cancername_>l00py: I'm used to it being installed by default and I don't know what else could be doing any filtering
<cancername_> <https://guix.gnu.org/manual/devel/en/html_node/Declaring-the-Home-Environment.html> could someone tell me what "tmp-file.txt" means here?
<cancername_>wouldn't it put the contents in "~/.config/test.conf", not "tmp-file.txt"?
<l00py>cancername_ i did guix shell iptables then sudo iptables -L all 3 sections are ACCEPT with no entries in them
<cancername_>that seems like no filtering is being done then
<l00py>wtf
<cancername_>have you gotten mouse support to work?
<l00py>ah ill try now
<l00py>ok installed gpm now what?
<l00py>i moved mouse around but no cursor
<Rutherther>cancername_: yes. tmp-file.txt is just the name for the derivation that will end up in the store, so it will be something like "/gnu/store/{hash}-tmp-file.txt". But it will be symlinked to test.conf as you pointed out
<cancername_>try running "gpm -m /dev/input/mice -t ps2" for now l00py
<cancername_>Rutherther: thanks! so, would it be better to call it something like test.conf?
<cancername_>l00py: forgot to say that it needs root
<Rutherther>cancername_: it's completely irrelevant how it's called, but it's true the same name as the target where it ends up symlinked, is chosen
<cancername_>okay :) thanks
<l00py>gpm worked!!! tyvm cancername_
<cancername_>nice :)
<l00py>i now only need to get networking working for this p2p tool and i can use guix without wm!!
<cancername_>middle click to paste btw
<l00py>ty
<l00py>is there a lot i can tail to watch network events and see what's going on when i start up p2p file sharer?
<l00py>log*
<homo>graphics drivers are a ton of hell, first you need binary firmware, then you need kernel driver to interact with that specific firmware, then you need mesa driver to interact with kernel driver, so a single graphics card must be supported by 3 unrelated codebases
<Rutherther>l00py: you can try tcpdump
<l00py>just plain tcpdump or have a suggested arg set?
<Rutherther>I don't know the arg set as you haven't provided more information, probably will need some flags
<l00py>it's something my bud is working on in closed beta atm. it uses libp2p fwiw
<homo>is guix style supposed to add trailing spaces?
<ekaitz>homo: i don't think so
<podiki>i wouldn't recommend guix style, often has less than optimal changes
<podiki>or use it, but compare to all the examples in guix already
<podiki>(i have only tried it a few times and did not like the results at all)