IRC channel logs

2024-12-28.log

back to list of logs

<homo>palemoon went as far as telling that not using bundled libraries is violation of trademark
<homo>well, palemoon only hurts itself by telling distros its illegal to use its name without linking to bundled libraries
<identity>oh, vkquake code had a macro that improperly encoded the SDL version where the second number was more than 9 (like in 2.23.0), so the code thought it was "SDL v3 or something". it was fixed in 4c7c2c3a42 (circa 2022) by removing the check altogether
<kentaro0_>as nix is working I guess guix can work some how. But ./configure --with-courage is not working.
<homo>such runtime check doesn't make sense because it compiled
<homo>if there was API breakage, compiler would tell that
<homo>by printing error that it can't find something
<Problem-extra-sp>Hi Folks...hope you had some nice vacation days and enjoyed some Christmas feeling
<Problem-extra-sp>i have a Problem with the instructions "(extra-special-file "/etc/qemu/host.conf" "allow br0\n")" references in the Guix Cookbook. My expectation is that "allow br0\n" will be the content of the file but it is shown as a "link" by ls
<Problem-extra-sp>What am i doing wrong?
<identity>Problem-extra-sp: what are the contents of the file it links /to/?
<meaty>somebody pwease pay attention to my patches T~T
<Problem-extra-sp>see please https://smalldev.tools/share-bin/DgR3X7Im
<Problem-extra-sp>identity see link i posted
<identity>Problem-extra-sp: i think you don't want extra-special-file, can'd remember the right procedure off the top of my head
<Problem-extra-sp>identity i took this from Guix-Cookbook: https://guix.gnu.org/cookbook/en/guix-cookbook.html#Configuring-the-QEMU-bridge-helper-script
<Problem-extra-sp>is this a error there?
<identity>Problem-extra-sp: i guess so
<meaty>Does anyone actually use the MPD service on their local machine? The docs for it are confusing and give a supposedly broken example so I just run it in userland without using guix
<meaty>but it would be nice to configure it in home config
<identity>Problem-extra-sp: (service etc-service-type `(("qemu/hosts.conf" ,(plain-file "qemu-hosts.conf" "allow br0\n"))))
<identity>this should work, i think
<identity>or, i guess (extra-special-file "/etc/qemu/host.conf" (plain-file "qemu-hosts.conf" "allow br0\n")) could work? not sure
<Problem-extra-sp>identity in your first example i get errormessage "guix system: error: more than one target service of type 'etc'" . The second example works but i used  plain-file "host.conf". Any special reeason that your filename differs from file defined with full path?
<identity>Problem-extra-sp: my first example should give an error actually, it should be something like (modify-services %base-services (etc-service-type config => ...))
<Problem-extra-sp>ah..oki...so that i have to include something somewhere...
<identity>Problem-extra-sp: no reason other than "host.conf" is more ambiguous than "qemu-host.conf" (if you're talking about host_s_.conf then that's a typo)
<Problem-extra-sp>:) ...sorry had to ask but Guix and guile-scheme are still superconfugsing to me
<Problem-extra-sp>i am constantly unsure if i understood what i though i understood and if i handle al this correctly...typical noob panic
<PotentialUser-33>Can anyone shed me some light on why can't pikabackup open the OpenURI portal if `xdg-desktop-portal-gtk` is installed on my guix? :( I've been searching for hours and I havent found anything, and without it I'll not be able to extract my backups to my home nor schedule backups with the same desktop portals :(
<PotentialUser-33>nah, nevermind fucking shit of distribution. Learn how to make guile apis with proper errors and packages .i,.
<oluminol-67>fix your fucking distro: https://codeberg.org/oluminol/guix-survival-guide
<Guest18>How to change mirror while in the graphical installation progress?
<Guest18>I am in China and the network speed is slow
<homo>apteryx efraim litharge nckx rekado roptat hi, oluminol-67 's message above is agressive demand and that link recommends to use non-free distro and is written angrily
<meaty>absurd defaults seems to be a GNU trend, unforch oluminol-67
<meaty>e.g. emacs
<unmush`>hmm? where does it recommend a non-free distro? I see it recommends the use of nonguix for installing, but is there something besides that?
<meaty>is there really no sound on DEs by default? I installed so long ago
<homo>unmush`yes, I consider nonguix a distro
<unmush`>I have a hard time remembering the issues I ran into when I installed on my own computers, but I've set up some family computers with guix using XFCE and the audio worked out of the box on those
<meaty>The non/guix install disk (which is ancient btw) essentially feels like the latter 80% of the arch linux experience, setting up everything you'd normally take for granted
<meaty>that is iirc
<meaty>esp. XDG stuff. and my flatpaks sometimes can't open file selectors but I didn't know that was a guix issue. but I found the documentation to be quite adequate for everything you'd expect it to cover
<Guest18>How to change mirror while in the graphical installation progress?
<Guest18>I am in China and the network speed is slow
<meaty>It would be nice to have a "proper" installer and maybe live for desktop use like Nix does, being like Arch isn't a priority of guix
<meaty>Guest18: maybe try a manual install and specify the substitute URLs on the command line?
<meaty>Ah, yes, you can specify '--substitute-urls' as an argument when starting the guix daemon via the 'guix-daemon' command
<meaty>look up those phrases in the manual and it may lead you to a complete solution.
<unmush`>ctrl+alt+f2 to get to a terminal, run 'ps auxww | grep guix-daemon' to find the command-line currently being used, run 'herd stop guix-daemon' to stop it, then run guix-daemon using an appropriately modified command line
<Guest18>unmush` thank you
<unmush`>note that adding extra urls to --substitute-urls by itself doesn't authorize them, so if the additional substitute server is serving any build outputs that aren't bit-for-bit identical to what some authorized substitute server offers, they won't be fetched from there
<Guest18>It still shows "substitute: looking for substitutes on 'https://bordeaux.guix.gnu.org/'..."
<unmush`>I haven't checked, but it's possible that that line is only referring to getting information about available substitutes, not getting the substitutes themselves
<Guest18>huh
<unmush`>which is how the aforementioned checking an authorized server for a proper hash to insist on an unauthorized server providing would work
<homo>as I understand mirrors listed here ship authorized packages https://libreplanet.org/wiki/Group:Guix/Mirrors
<unmush`>also, if you want your added substitute server to be preferred, make sure it comes first in the list passed to --substitute-urls
<iyzsong>Guest18: you may need 'herd stop guix-daemon', and run 'guix-daemon' manually with specified substitute-urls in another tty.
<Guest18>iyzsong Doesn't work, I will try manually running the installation procedure.
<meaty>why is the kitty package ten million years old
<cluelessguixer>Trying to setup a torrent container, but I'm hitting this snag: https://www.reddit.com/r/GUIX/comments/1bsnfjs/getting_an_error_when_trying_to_run_sudo_in_a/
<cluelessguixer>btw, I've got a few --share options, making my command long, but it doesn't look like --export-manifest includes command line arguments. Is there a way?
<stochastic>> fix your fucking distro: https://codeberg.org/oluminol/guix-survival-guide
<stochastic>> The API is pretty much a toy. Use the default home-config.scm? All good...oh you decided to track some XDG_CONFIG_DIR files? Well too bad, that's a duplicate .bashrc error (for some reason). Always keep your files under version control until the guix developers manage to fix their fuckeries.
<stochastic>Now that's just mean!
<homo>that entitled talking to volunteers as if they are obligated to obey commands
<homo>did oluminol-67 make some formal contract with volunteers that justifies such aggression?
<PotentialUser-54>Hey everyone i just installed guix, so i'm not very knowledgeable in it. But how long does a guix system reconfigure command usually take, and how often should i do it?
<attila_lendvai>PotentialUser-54, it shouldn't take longer than a couple of minutes, maybe more with the guix pull included. and i usually reconfigure about once a weeks on average.
<cluelessguixer>PotentialUser-54: As far as I understand it, you shold do it as often as you wish to upgrade your kernel (sorta), but I'm fairly clueless on this myself.
<homo>decision is much easier to make when you watch commits and see that some change you wanted is committed
<cluelessguixer>I usually do "guix pull" followed by "guix upgrade", then system reconfigure. And I've recently experimented with a home.scm reconfigure to avoid kernel updates, but I'm not sure. Could use some clarification myself.
<homo>otherwise I wouldn't pull more than once a month unless there is security fix
<cluelessguixer>homo: Does system reconfigure also do "guix pull" and "guix upgrade"?
<homo>cluelessguixer no, if you want to upgrade system, you first run "guix pull" and then "sudo guix system reconfigure", that will upgrade all packages installed in the system
<homo>also if you have home config, you'll also need "guix home reconfigure"
<homo>I never use "guix upgrade" as I never use "guix install", I like declarating packages in system and home configs, and for everything else I do "guix shell"
<homo>I didn't even know about upgrade command until you mentioned it
<cluelessguixer>I've always wondered how I'd keep track of what packages I've installed...
<cluelessguixer>You'd probably want them declared in your home.scm, right?
<cluelessguixer>nvm
<cluelessguixer>I don't suppose there's a way to list what packages have been installed with "guix install"?
<homo>well, it rarely matters whether you declare packages in system or home
<homo>if you do it in system config, they will be installed for all users, but in home config they will be installed just for you
<stochastic>> I didn't even know about upgrade command until you mentioned it
<stochastic>guix upgrade, install, uninstall etc.. are just `guix package` flags
<stochastic>> well, it rarely matters whether you declare packages in system or home
<stochastic>oh but it does
<homo>well, in system config you want to declare packages necessary for running services
<homo>but for example, does it really matter whether minetest is declared in system or home?
<stochastic>for example if you declare emacs in system config, it won't pick up on emacs-* packages by default (I'm guessing you can do stuff with the emacs load path but I just found it easier to put emacs in home config)
<cluelessguixer>Luanti* :-)
<homo>unfortunately guix hasn't renamed package yet
<homo>ja luannin pelit eivät ole saatavilla suomeksi :(
<stochastic>> Luanti* :-)
<stochastic>that's one namechange that i still don't get
<cluelessguixer>I like it. "Minetest" was never a good name, let's be honest, lol.
<homo>this game engine was created here in Finland, so the name is taken from finnish word luonti
<lilyp>stochastic: that's a well known bug – you have to also add emacs to your home
<the_tubular>lilyp what do you mean 'to your home' ?
<the_tubular>Just guix install emacs ?
<lilyp>as for luanti, I'm willing to review a series that applies the rename
<homo>I use guix a month already and I started using home config only yesterday, now I am too lazy to move packages declared in system config into home config
<lilyp>i mean no one's stopping you from using the olden ways and declaring everything in the system
<lilyp>I myself do that on servers
<lilyp>but for desktop systems cleaner separation is often better :)
<Lumie>homo: Guix is great, been using it for over couple of years now. I use home config too, though it's very barebones.
<Lumie>Also, terveisiä perseestä
<stochastic>> I like it. "Minetest" was never a good name, let's be honest, lol.
<stochastic>I liked it, but hey, things change
<stochastic>> i mean no one's stopping you from using the olden ways and declaring everything in the system
<stochastic>i really wish there was some equivalent of guix deploy for guix home
<cluelessguixer>I just remembered the only reason I have a home.scm now was to get a cool welcome message over ssh.
<Lumie>:D
<the_tubular>cluelessguixer, mind showing how you did this ?
<Lumie>Plot twist, oh-my-bash
<hako>stochastic: There's guix-home-service-type so you can deploy home configuration in addition to system configuration.
<cluelessguixer>the_tubular: This is what I have under services in my home.scm: https://bpa.st/3RCQ
<Lumie>Doesn't seem any different to what I have
<Lumie>You declare the welcome message in bashrc?
<the_tubular>No cool messages spotted
<the_tubular>Is it using motd ?
<cluelessguixer>Lumie: Yeah, pretty much. You can add lines directly in the scheme file, but it can get pretty annoying with for example PS1 (managed to escape all the characters in the end...)
<Lumie>Ah, I see
<cluelessguixer>the_tubular: The cool message is basically just a "fastfetch" line in .bash_profile.
<Lumie>Well, the first thing that opens up in my Guix is emacs, so it's kinda pointless for me
<Lumie>But I guess I could make it open up a terminal emulator with a welcome messge in another tab
<the_tubular>Gotcha
<Lumie>message*
<the_tubular>I'm also clueless, just tryna learn cool things
<homo>it seems gnome doesn't like custom cursor theme, the moment I run "guix home reconfigure", my cursor turns into square until I re-login
<cluelessguixer>I'd love to have a CL shell to welcome me, but I'm not ready for that...
<Lumie>homo: that's weird
<stochastic>> stochastic: There's guix-home-service-type so you can deploy home configuration in addition to system configuration.
<stochastic>holy jamboree
<stochastic>i'll test that
<the_tubular>lilyp, the bug about guix home you were talking, how does it manifest ?
<the_tubular>I think I'm hitting that problem, just wanna make sure we are talking about the same thing
<the_tubular>What is the relation with CL, Guix and emacs ?
<the_tubular>Are they all completely different lisp ?
<Lumie>In a way
<unmush`>CL is Common Lisp, an ANSI standard programming language from the 80s. Emacs is a text editor. Guix is a package manager and software deployment system.
<Lumie>They are all written in Lisp
<Lumie>Well, CL obviously is
<Lumie>:D
<the_tubular>Can one interpret another one ?
<cluelessguixer>CL > Guile > EmacsLISP
<the_tubular>Or do they all need their own interpreter ?
<unmush`>Emacs uses a dialect of Lisp called Emacs Lisp, and Guix uses Guile, which is an implementation of Scheme, which is a subfamily of Lisp
<Lumie>I don't code, so I don't know much about their interpreting. I'm just a leech.
<cluelessguixer>In case nobody saw it: Trying to setup a torrent container, but I'm hitting this snag: https://www.reddit.com/r/GUIX/comments/1bsnfjs/getting_an_error_when_trying_to_run_sudo_in_a/
<homo>Lumie no hei, olen lukenut, että gnu.org on vaikeaa kääntää suomeksi, koska säännöt vaativat äidinkielenään englantia puhuvan https://www.gnu.org/server/standards/README.translations.html ja minä tarvitsen, että lukiossa ja yliopistossa ei vaadita epävapaita ohjelmistoja
<homo>olen ulkomaalainen, siksi anteeksi jos kirjoitan huonosti
<homo>ensi vuonna aion opiskella lukiossa
<Lumie>homo: ohhh, I see
<Lumie>You're Finnish is all right
<Lumie>Your*
<homo>englantikään ei ole äidinkieleni
<homo>s/kään/kaan/
<Lumie>Where you from if I may ask?
<homo>salaisuus :)
<Lumie>Fair enough
<homo>todellisesta perseesta
<Lumie>xD
<homo>mutta kiitos Suomelle, että minulla on rauha, lopulta
<Lumie>Well anyway, I hope the translating goes well
<homo>se ei mene hyvin valitettavasti, koska säännöt myös vaativat äidinkielenä suomea puhuvan
<homo>siksi tarvitsen ryhmän
<Lumie>Okay, well I hope THAT goes well
<homo>miksi "vapaa" tarkoittaa "maksuton" suomeksikin :(
<Lumie>I think the word you're looking for in that context is "ilmainen"
<homo>ilmainen kahvi baarissa
<Lumie>If we're talking about free software
<Lumie>But vapaa works too, in some contexts
<homo>wikipediassa sanotaan vapaa ohjelmisto
<Lumie>Also, I'm not sure about #guix's policy on the channel's language but I think we should stick to English mostly
<Lumie>homo: makes sense
<Lumie>Sorry, I was never good at Finnish
<homo>well, what if there are guix users who don't speak english?
<Lumie>ACTION shrugs
<homo>I met people who can program, use gnu and bsd, but can't understand english at all
<homo>I don't know where they get API documentation from when they can't read english
<Lumie>Magic
<unmush`>they must be train-with-300lb-weighted-clothes levels of experts at reading the source
<homo>btw, haiku-os also has system generations, but the interesting thing is how they install packages - they don't extract archives, they simply download and mount them, which causes them to be installed very very very quickly
<homo>would be nice if guix could mount packages instead of extracting them
<homo>saves a lot of disk space on top of that
<unmush`>we don't really "extract" them per se, they come over the wire in nar format, which is a very very minimal layer of metadata
<homo>I mean that they avoid data duplication
<homo>and uninstalling packages is as easy as removing those .hpkg files
<homo>eh, it's sad haiku is not committed to be 100% free software, same syndrom as bsd
<unmush`>blog post sent
<civodul>thanks, unmush`!
<Lumie>I wish I could write right now, but I've been staring at my files in total paralysis for days
<lilyp>the_tubular: well, it doesn't "manifest" at all, you just don't get to see whatever emacs packages you've installed in home without also having emacs there. same goes for the system
<homo>if not difficult, I need "simple direct rendering manager" driver enabled as amdgpu is completely broken for me, here is relevant 6-line patch https://debbugs.gnu.org/cgi/bugreport.cgi?bug=74778#11
<homo>recompiling linux-kernel on my laptop, even with a lot of disabled drivers, still drains too much of my laptop's cpu and memory, not to mention overheating caused by absence of malware firmware
<homo>I will take this as a life lesson to invest in hurd
<homo>or in some other small free software kernel
<iyzsong>hey, I had pushed some updates (109 patches) to a new 'xorg-updates' branch, could someone create a job for it on CI? or review them on the mailing list first. thanks!
<Guest59>I was searching for some binaries like mount.nfs, clear (ncurses), etc. There were more than one of the same version with different hashes. There is a minimum of 4, why so?
<Guest59>different hases in the gnu store
<iyzsong>for a package, any dependency in its dependencies tree changed (version or build options) will lead to a new version (hash change)
<Rutherther>Guest59: that's how functional build system works, that it can have multiple versions of semingly same package (ie. different deps). If you don't want those, you can 1. remove gc roots for them (ie. deleting old system, home, profile generations), and 2. run garbage collection (guix gc)
<Guest59>understood. thank you iyzsong Rutherther
<yqshao>I was trying to set up GuixSD on an arm64 board and am almost managing to do so... But I am using a setup with UEFI firmware (edk2) instead of u-boot, and I feel that I have to explicitly load a dtb from my patched kernel build, but I think there is not a proper way?
<yqshao>Ideally I'd like to have something like what nixos has as "hardware.deviceTree.name" (which ends up in the grub entry), but that means I need it as a field of bootloader record, otherwise the best I might do is to change the configuration-file-generator ad-hoc and put in a fixed version/name there.
<yarl>Hello
<olafes>issues.guix.gnu.org is down again
<Deltafire>it's got issues
<yarl>Where can I find the config.scm for the running system? (guix system image)
<yarl>I thought guix system describe would give me this.
<Rutherther>yarl: if you have provenance enabled (the default), then "/run/current-system/configuration.scm"
<Rutherther>I am not sure if the installation iso has this enabled though
<yarl>Rutherther: That's not the installation iso, but yeah, I forgot to include that. Thank you.
<fnat>Quick community announcement, there's a couple of online sessions about Guix/Scheme/Lisp happening tomorrow. More details at https://events.ccc.de/congress/2024/hub/en/assembly/lisp/. We will be repurposing the usual Guix Social Jitsi link https://meet.jit.si/london-guix-meetup although this is actually in the context of 38c3.
<cluelessguixer>Trying to get a WireGuard configuration going, but I'm getting an error on system reconfigure: "extraneous field initializers (addresses dns private-key)".
<cluelessguixer>It's probably because I have them under peers...
<rekado>has anyone here used timers in the system configuration with the new Shepherd?
<rekado>I've tried and it looks like I cannot specify timer-trigger-action as an action for a timer service, due to a type mismatch.
<rekado>timer-trigger-action is an <action> while the shepherd-service constructor expects a list of <shepherd-action>
<dariqq>rekado: https://lists.gnu.org/archive/html/help-guix/2024-12/msg00134.html
<rekado>dariqq: thanks
<divya>In `emacs-minimal` and `emacs-next-minimal` there's a phase that uses substitute* on some files, one of them is lisp/obsolete/terminal.el which is no longer in the master branch. How can I just remove substitute* for that specific file when inheriting either of them?
<divya>One solution is to just repeat the entire phase definition and exclude that file.
<divya>But is there any trick?
<efraim>you coud create the file, there's no error (still) when a substitute fails to make any changes
<epipenetics>GUIIIIIIIIIIIIX
<roptat>hi guix :)
<civodul>hey, roptat!
<roptat>I finally managed to build guix dependencies on Haiku, and I started running "make make-go" :)
<civodul>woow, quite something :-)
<roptat>I had to fix two issues: haiku doesn't have strverscmp, and its readdir has a different return type
<civodul>though i guess glibc doesn’t support the Haiku kernel, does it?
<efraim>how does that work with libc?
<roptat>no idea, I'm just compiling it for now, that's a problem for later
<civodul>:-)
<roptat>also, our scandir* (in (guix build syscalls)) tries to get the filetype from the result of readdir, but not all file systems implement that, even on linux
<roptat>I don't know if we rely on the type anywhere, but it might lead to a bug in some rare cases
<efraim>sounds like the guile powerpc bugs I'm supposed to follow up on
<cancername>hi everyone :) does anyone know how I can run a command on `guix home reconfigure`? specifically, I use guix home to manage my firefox config, but arkenfox relies on an update script to cat arkenfox and user-overrides.js into user.js, and I'd like to automate that on reconfigure.
<cancername>roptat: the zig stdlib contains an "unknown" file type, as well as an option to stat each file after the getdents(64) to get the file type.
<cancername>perhaps that's an avenue to explore here
<roptat>maybe our implementation is correct: we return unknown when there's no type, but I don't think we use stat afterwards
<cancername>roptat: that's a correct implementation afaict, but the option to stat files in scandir* is probably good for ergonomics
<cluelessguixer>Not a lot of packages listed in my experimental Guix VM config... Is this how I'm supposed to do it? (packages (cons* (list "iptables") %base-packages)
<roptat>cluelessguixer, the package list needs to be a list of guile objects, not a list of strings, so it would be (cons* iptables %base-packages)
<roptat>you'll need to import the corresponding module too
<roptat>(use-modules (gnu packages linux))
<cancername>hm... I want to copy files from my dotfiles into ~ with guix home, but these files shouldn't be world-readable in the store, only accessible to the user... how would I accomplish this?
<cluelessguixer>roptat: Thanks. Seems like "guix install iptables" also did the trick. Is there a difference?
<roptat>with guix install, you install only for the current user
<roptat>with guix system, you install on the system
<roptat>for all users
<cluelessguixer>Gotcha.
<roptat>cancername, I don't think that's possible
<cancername>roptat: so, I can't just create a home service that copies files? that seems like an oversight
<cancername>thanks
<roptat>ah, you can probably do that
<roptat>\o/ I ran "./pre-inst-env guix --help" on Haiku :D
<cancername>nice!
<roptat>building anything will be difficult as I don't have bootstrap binaries
<efraim>yet*
<divya>How do I mention a specifc git branch to fetch in the `origin` definition using `git-fetch`?
<cancername>I believe you can just specify the commit hash
<divya>Just that works?
<cancername>divya: should!
<divya>Let's see.
<divya>cancername: It says "initialized empty git repository"
<cancername>divya: concerning
<cancername>does it contain the expected files
<divya>It should..I think there was a hash error. Let me try again
<divya>Yep, works I think.
<cancername>nice!
<divya>The GNU Emacs is going through a testing phase for the new GC on the scratch/igc branch. Emacs users are recommended to help in testing by using an Emacs build from that branch. To that end, for Guix users that use Emacs, I've packged a definition for that branch, that you can get from my channel: https://codeberg.org/divyaranjan/divya-lambda/
<raghavgururajan>divya: Your mirror repo in github, are they pull mirrors? That is, do they automatically pull new commits from your original repo at codeberg?
<divya>raghavgururajan: They can, but currently I push to both manually.
<raghavgururajan>divya: I see. I wan wondering whether auto capability is only available on paid tier.
<raghavgururajan>*was
<raghavgururajan>*auto pull
<divya>raghavgururajan: You can setup push mirrors on codeberg for free
<raghavgururajan>Ah, thanks!
<cancername>why are some variables %-prefixed/
<cancername>?*
<divya>cancername: They are special variables, its a common practice in Lisp.
<cancername>divya: what does it mean to be a special variable
<cancername>?
<divya>cancername: They are special-purpose variables that are intended to be used within a particular module/library. For example %desktop-services. It has a specific set of services that can be used for a typical desktop-system.
<cancername>divya: thanks!
<divya>cancername: No worries :)
<cancername>hm. so I defined a special variable, am trying to use it in a service definition, and get an unbound variable error: https://pastebin.com/C8rLm4AX . could anyone help me find out why? the variable is defined.
<cancername>oof, the pastebin has a typo in the variable name :/ it's not the source of the issue though, even with it corrected, it appears unbound
<Googulator>gcc-4.9 / hugs bisect is now down to just this 1 page: https://git.savannah.gnu.org/cgit/guix.git/log/gnu/packages?h=4a4508c241c22a52dd14cb3f26fd47f59a90d631
<Googulator> https://git.savannah.gnu.org/cgit/guix.git/commit/gnu/packages?h=4a4508c241c22a52dd14cb3f26fd47f59a90d631&id=3db653a2c235207b347849200eeb3f89bb4ba513 still builds it fine
<Googulator>and beyond that, we have a gcc update, a glibc update and an mpfr update - it could be any of those
<homo>Googulator what do you mean? hugs doesn't need gcc 4.9 after https://git.savannah.gnu.org/cgit/guix.git/commit/?id=c302b7a5966908b3a5db1ef3ccd3af460b847675
<Googulator>Hugs doesn't, but the GHC semibootstrap does
<homo>"gcc-4.9 / hugs bisect"
<Googulator>I'm calling it that because it was first discovered with hugs
<Googulator>But the point is, making hugs use modern GCC doesn't fix everything
<Googulator>We can't just leave gcc-4.9 broken
<ekaitz>Googulator: some people is working on fixing older gccs
<homo>very few packages depend on gcc-4.9, maybe it's easier to make them build with other version and drop gcc-4.9 completely?
<ekaitz>homo: we need some gcc for the bootstrapping, but janneke is working on separating bootstrapping from other packages
<homo>if gcc-4.9 is needed for bootstrapping, how comes substitutes for newer gcc and even llvm are available?
<ekaitz>homo: that part of the codebase is pretty convoluted but I think we inherit from its definition
<ekaitz>i'm not totally sure, but removing a gcc is not just harmless, we have to be careful with that
<RavenJoad>I should be able to do a guix system reconfigure with the pre-inst-env, right? When I try to reconfigure, I get "guix: system: command not found Did you mean `system'?
<RavenJoad>I am doing "sudo ./guix/guix/pre-inst-env guix system -L ~/Repos/synnax/modules/ reconfigure laptop.scm"
<homo>I regularly do system reconfigure with pre-inst-env as I need simple direct rendering manager driver
<homo>also I am puzzled why you don't receive error for invoking sudo like that, it always errors on me
<RavenJoad>I figured as much, I just don't understand how the pre-inst-env cannot find the system sub-command when using sudo. "./pre-inst-env guix system vm" worked perfectly fine.
<homo>I don't use -L flag, so don't know how it's supposed to be done
<homo>what I do is "sudo guix shell -D guix --pure" and then "./pre-inst-env guix system reconfigure /etc/config.scm"
<RavenJoad>That just adds to Guile's %load-path, so that should not be doing anything. I need it since it points to my personal channel, which I have changed since my last guix pull.
<homo>but before I do that, I first do it from regular user: "guix shell -D guix --pure", "./bootstrap", "./configure", "make", "./pre-inst-env guix system build /etc/config.scm"
<RavenJoad>Using the sudo guix shell worked.
<RavenJoad>s/worked/seems to have worked/
<homo> https://guix.gnu.org/cookbook/en/html_node/Software-Development.html
<homo>is this documentation helpful?
<luca>Hi, is there a way for me to get all development dependencies of a package in a nice-ish list?
<RavenJoad>homo: In general? Yes. I use it for all of my personal projects, so I can have my Cuirass instance build my projects.
<RavenJoad>luca: There should be, yes. From Scheme, it should be as simple as (package-inputs <desired-package>). From the shell, there is probably a way, but I don't know it.
<homo>luca: $ info "(guix) Invoking guix graph"
<luca>Yeah so only the graph I guess. Maybe some repl thing would work but I am not that familiar with scheme
<RavenJoad>If you are doing development, "guix shell -D <desired-package>" will make an environment with development dependencies available. If you want a list, then you can start by looking at the output from "guix search <desired-package>"
<luca>but search seems to only give me runtime release dependencies, not development dependencies
<homo>RavenJoad maybe it expects -L in different order: "./pre-inst-env guix system reconfigure -L ~/Repos/synnax/modules/ laptop.scm"
<RavenJoad>homo: The -L were not the problem. It was something to do with sudo privilege escalation and the command being invoked.
<RavenJoad>luca: Good point.
<homo>RavenJoad: sudo is a suid binary, when you invoke guix shell suid binaries are not available, it would be security disaster, this is why the only way to get suid binaries is through system reconfigure
<homo>this problem might have been avoided if Greg wouldn't remove p9auth from linux kernel
<RavenJoad>The fun part was I was not inside any SUID sudo-shell or guix-shell before. That was why I compiled the guix repository in the first place.
<homo>suid is a workaround for posix systems' inability to do proper authentication https://doc.cat-v.org/plan_9/IWP9/2007/13.p9auth.pdf
<csantosb>luca: try this, for example, `guix shell --container --link-profile python guix coreutils`
<csantosb>then, cat ~/.guix-profile/manifest.scm
<homo>if you know what chmod is, suid is a special flag for binaries, in other words it's a nuclear bomb
<csantosb>luca: `cat ~/.guix-profile/manifest`
<graywolf>I am getting really strange error when trying to guix deploy: https://paste.debian.net/1341563/ ; Any ideas what is going on?
<graywolf>Hm, maybe the store got corrupted.
<graywolf>How do I overwrite a store entry? I have tried guix-copy, but that does nothing since the entry already exists (despite being corrupted).