IRC channel logs

2026-06-19.log

back to list of logs

<jlicht>hey guix
<Alavi_me>Hi guys. I'm having issues with neovim + guix's treesitter. When you install neovim from guix, it applies a patch, and tree-sitter grammars are installed in $TREE_SITTER_GRAMMAR_PATH (~/.guix-profile/lib/tree-sitter) And will apply a patch to neovim to look in that path for globs of `libtree-sitter-{lang}*`. While grammars installed by neovim's nvim-treesitter or arborist.nvim are installed in
<Alavi_me>~/.local/share/nvim/site/parser and named like {lang}.so , so nvim will not recognize the installed parsers and reinstall them everytime.
<Alavi_me>This started in nvim 0.12+
<Alavi_me>Has anybody been running into the same issue?
<futurile>morning morning
<Alavi_me>futurile: O7
<mlxdy>Guix installing really long. I went to sleep at 8 pm there 10 am and it's still installing
<mlxdy>Substitutes are applied by default?
<mlxdy>It looks like everything is compiled from source
<mlxdy>I used normal Guix installation 1.5.0
<untrusem>wait what
<untrusem>substitutes should be there
<civodul>Hello Guix!
<z572>civodul: Can we perform a rebase of the core-packages-team based on the master branch?
<z572>I would like to upgrade our default gcc to gcc-16.
<mlxdy>I was installing system in env with vim, I'm not sure if I should do something like that
<mlxdy>guix shell vim
<mlxdy>*some edits*
<mlxdy>guix time machine...
<mlxdy>However I added substitutes manually
<untrusem>mlxdy: can your share your config somewhere?
<mlxdy>My config is normal config made by installer for me, but I had to add custom kernel from one channel to make my device run on Guix (you probably know what I mean). I added substitutes manually in installing command, I think it works right now
<mlxdy>It looked like ALL packages were compiled
<futurile>mlxdy: it's totally fine to mention nonguix if you're using it. Something has gone wrong during the install, the installer should have asked you whether you wanted to use substitutes.
<mlxdy>I used installer to generate config, but I installed from CLI
<mlxdy>Right now kernel is during compilation, everything is okay
<futurile>ok, hope it's worked!
<sham1>Compiling the kernel will take a while though, so get comfortable
<sham1>You could have set up the substitutes for that
<mlxdy>I don't think there's substitute for this
<csantosb>Morning, Guix ! Any idea on how to `guix size -m manifest.smc` ?
<mlxdy>What's Guix stance on AI? AI is used in development?
<hako>csantosb: guix build -m manifest.scm | xargs guix size
<futurile>mlxdy: it's currently under discussion, whether the project will formally request no AI in development. I would say AI is generally not used in packaging/development, though some people are experimenting with package updates in particular
<mlxdy>For sure GNU Guix shouldn't use proprietary AI models like Claude, ChatGPT etc
<futurile>you're welcome to take part in the discusson topic, there's a Codeberg issue that's discussing the proposal and there's lots of conversation on the devel mailing list - everyone is welcome to put forward their thoughts
<mlxdy>Okay, I'll do this when my kernel on Guix will end compiling. It failed so I'm doing this again. Guix told me to check log file, but I couldn't cat it it was just random symbols and characters like binary
<mlxdy>Maybe it was binary log?
<futurile>you may have cut-n-pasted the wrong bit - I find the output a bit confusing honestly - the log it's telling you about is like 3 lines up in the output, and hte last line is often the derivation it failed to build
<hako>mlxdy: it's gz-compressed, you can view it by "zcat <file>.drv.gz"
<futurile>ah also true - thanks hako
<untrusem>o/ hello guix
<futurile>heya untrusem
<untrusem>what's up futurile ?
<futurile>untrusem: I'm trying to give the Guix Foundation web pages some love. I'm currently writing an FAQ about Guix Foundation - in the spirit of these things, none of these questions have actually been asked frequently!
<futurile>anyone got a "frequently asked question" about Guix Foundation heh?
<futurile>(I also keep calling it "the guix foundation" with an errant "the" for no reason at all gah!)
<untrusem>ohh nice
<Air4x>Hi, does someone have an example of a package that uses the copy-build-system? I tried to see in the guix repo but the few packages that I found are a little too advanced for me. I'm asking because I'm trying to install some scripts in my home-environment through guix home
<futurile>Air4x: is there a reason you're creating a package using copy-build-system and not just copying the file over and linking it?
<Air4x>futurile: because it doens't work, I tried multiple times.
<yelninei>Air4x: gdmd is pretty simple: https://codeberg.org/guix/guix/src/branch/master/gnu/packages/gcc.scm#L1575-L1602
<sneek>yelninei, you have 1 message!
<sneek>yelninei, tomenzgg says: Thanks so much for the help
<futurile>Air4x: well that's definitely a reason to try something else :-)
<futurile>Air4x: out of curiousity what kind of file are you trying to copy to your $HOME, and where are you trying to put it?
<Air4x>futurile: they are a perl script and a raku script and I was trying to copy the in $HOME/.local/bin/
<futurile>Air4x: guess you tried home-files-service-type, what happened?
<Air4x>futurile: the shell doesn't seem to find the script and when I try to run them with a full path it says "permission negated" (I did chmod u+x all of them)
<ggero>Hi, I'm struggling to get sound working on Guix. I have set up the pipewire home service (alongside dbus) but there aren't any output devices, either external (earbuds) or internal (speakers). What can I try?
<futurile>Air4x: so after you run 'guix home reconfigure' the files have been copied to $HOME/.local/bin/<whatever-file-is-called> right?
<Air4x>futurile: yes
<Air4x>futurile: $HOME/.local/bin is in $PATH
<futurile>Air4x: and they're there as softlinks, so you can do 'vim $HOME/local/bin/<whatever-file-is-called' and it works, there's no dangling soft link?
<Air4x>futurile: no dangling softlinks, in fact I can cat them without problems
<futurile>Air4x: weird!
<futurile>Air4x: and if you try and run them, it's just giving you permission denied - what if you copy them somewhere else (cos no idea, just trying to think of more ways to debug it)
<futurile>Air4x: you said perl/raku - so what if you do "perl /blah/file" (maybe there's a switch there to run them)
<untrusem>if you are new to guix, I would suggest stealing stuff from other people config
<untrusem>I can share some
<Air4x>futuriel: If I cat them and save in another file they work (barring version missmatch)
<Air4x>futurile: Is there a way to define a package inside the file where I define the home-environment record, or I have to put it into a channel?
<futurile>Air4x: and if you chmod u+x the softlink and the underlying file they are pointing to?
<futurile>untrusem: do you have an example of linking a binary file in guix home that Air4x could see then? (I don't)
<Air4x>futurile: When I try to chmod the softlink it gives a permission error, same thing for the underlying file
<futurile>Air4x: is the underlying file owned by you, or by root then?
<Air4x>futurile: the underlying file is owned by root
<futurile>Air4x: OK, so did you run "guix home reconfigure" as your existing (non-root) user?
<Air4x>futurile: yes "guix home reconfigure DragonReign/home.scm" from my $HOME no sudo
<futurile>Air4x: if the files are owned by root, I think you'll have to remove the softlinks using sudo because I guess 'guix home reconfigure' is going to fail
<Air4x>futurile: it doesn't seems to fail, or at least the output seems to indicate that the symlinks are created correctly
<futurile>the way guix home works, is that all the underlying files and the config should be owned by your user
<futurile>if the underling file you're trying to softlink to doesn't have the right permissions for your user then it's not going to work
<futurile>if you ran 'guix home' at any point with your root user, then the 'underlying files' and the softlinks must be root:root owned I guess
<Air4x>futurile: the actual file that guix home is copying in the store is owned by me and is executable, the file owned by root is the file in the store. I never ran guix home with sudo
<futurile>Air4x: ah got it - it's this -> https://issues.guix.gnu.org/52807
<Air4x>it worked, I bashed my head against this for like a month
<futurile>Air4x: nice!
<futurile>Air4x: well we got there in the end heh :-)
<ieure>I want to make a package variant which adds an element to the source package's #:make-flags. How do I do that when #:make-flags is a gexp?
<ieure>Naive `(substitute-keyword-arguments arguments ((#:make-flags flags) (cons "FROBNICATE=1" flags)))' doesn't work, nor does...
<ieure>#~(substitute-keyword-arguments #$arguments ((#:make-flags flags) (cons "FROBNICATE=1" flags)))
<yelninei>ieure: #~(cons AAAA #$flags)
<ieure>yelninei, Thank you! That works for me.
<mlxdy>Guix is fully open source? I mean there's no risk that I'll install some proprietary stuff like codecs, DRM etc?
<mlxdy>There's ungoogled chromium and librewolf in repositories. I think that they might contain stuff like this
<mlxdy>That's what I hate in the most of the distros that they spit on user freedom.
<futurile>mlxdy: there's no proprietary software in Guix, if you use other channels (e.g. #nonguix, guix-games) that's where proprietary drivers/apps are
<ekaitz>mlxdy: any package that provides proprietary things, or binary blobs is considered a bug. And should be removed immediately.
<sham1>Guix is free software, not open source. The distinction is important as signifying a moral stance
<ajarara>is there a setup where I can call into a modified guix from within another repository (beyond doing ../pre-inst-env guix)? I have some upstream changes waiting but I would like to use them ahead of time. Guix as a submodule maybe?
<ajarara>overriding the guix channel to be where the checkout is probably too far: I want normal guix outside the context of this repo
<sham1>You could use the custom channel as a part of your manifest
<mlxdy>I installed Guix with Mate, but DNS don't work.
<mlxdy>ping 1.1.1.1 - work
<mlxdy>ping google.com - don't work
<mlxdy>I'm connected to my home wifi network
<Rutherther>what's in /etc/resolv.conf?
<mlxdy>nothing
<Rutherther>okay, what networking service are you using?
<Rutherther>you might try putting nameserver 1.1.1.1 to /etc/resolv.conf manually trying if that will work in the meantime
<mlxdy>network manager
<mlxdy>How to restart service?
<mlxdy>to make resolv.conf work
<Rutherther>sudo herd restart NetworkManager, but it should be working in the first place, I am not really sure a restart of it would solve something
<mlxdy>It works, thanks!