IRC channel logs

2026-06-21.log

back to list of logs

<noxi>> I mean, Nix was already a thing back then, but yeah. Hell, I think that even guix was already a thing back then
<noxi>does nix have anything close to `guix deploy` ?
<stephen0>Reminds me I was going to try to find the nix equivalent of guix search.
<stephen0>The completeness of the guix tools makes it a lot easier to explore guix without needing the internet than what I've found with nix.
<SillySpider>Re: My Last Question. I think that my issue was that app-armor was preventing guix daemon from unlinking some build files in tmp. I trust Guix, so I just told app-armor to trust guix and its daemons. I'm now running `sudo -i guix pull --no-substitutes`, and there hasn't been a problem so far. I don't have anything installed in the root guix profile except locales and fonts, so I don't think it'll
<SillySpider>take much time (relatively).
<apteryx>Holy moly, all caught up with the Codeberg notifications. I'll be a good for a couple hours.
<noxi> https://codeberg.org/guix/guix/pulls/4087
<noxi>What's holding this PR back currently?
<sham1>Maybe the zig stuff
<noxi>SillySpider, when you talk about "cache files", is it like ~/.cache/guix/checkouts ?
<untrusem>hello how can I use a different branch for a package
<untrusem>I want to use a build a package defination from a branch called `next` whose default is `main`
<untrusem>will I need to use transformations?
<untrusem>for that I would first need to make a package for default branch and make another transformation package
<Rutherther>untrusem: origin git-fetch doesn't care what branch you're fetching, so just specify commit from whatever branch you want to use
<untrusem>I see
<futurile>morning all
<sham1>Morning!
<jlicht>delayed hi futurile o/
<jlicht>does someone happen to be hosting the "whereis" tooling that used to be available at https://toys.whereis.social/ ?
<Rutherther>I don't know who hosts it, but I know of an alternative https://search.guix.moe
<Rutherther>although I am thinking the one behind whereis.social could be jgart. But not completely sur
<look>hako hosts it (search.guix.moe), its a xapian instance of toys
<jlicht>thanks!
<stephen0>If I define a package in a .scm file how do I then use that package from my home configuration?
<identity>stephen0: you just put it in the list of packages
<identity>if the Scheme file is separate from the Scheme file containing your home configuration, you will have to import the module exporting the package definition in your home configuration
<stephen0>so let's say I have home.scm and package.scm and package.scm has the package as the last line. What do I put in home.scm to import it?
<stephen0>I do follow what you mean by put it in the list of packages though.
<identity>what do you mean by «has the package as the last line», exactly?
<untrusem>share your files in a pastebin
<stephen0>There's a (define-public my-package ...) then the last line of the file is my-package
<Rutherther>stephen0: mind you, define-public returns nil, you would have to repeat my-package at the end of the file to return the package from the file
<hako>stephen0: define package.scm as a module and add it to your load path, or using "load" in home.scm.
<Rutherther>stephen0: there are multiple possibilities, for the exact case where you return the package out of the file you could use (primitive-load "package.scm"). But for more complicated setups, having multiple packages in a single file and so on, it's better to make your file a module by using define-module, and then putting it in load path
<untrusem>by the way thank you hako for merging the zig pr
<identity>just add a define-module declaration at the top of package.scm, -L . (‹L› for load path and ‹.› for current directory), in your home configuration add (use-modules (package)), and probably remove my-package from the last line (it probably will not hurt, but is unnecessary if you are going the route of modules)
<sham1>So how is `guix system build` supposed to work? It can apparently build the operating-system, but it apparently can't make it into a generation I can switch to. That seems to be something that can be done with `reconfigure`, but that then has the problem that I have to execute the entire `guix system reconfigure file.scm` as root, and really I'd only want to do that only for the actual generation activation step
<ieure>sham1, `guix system reconfigure' reuses the output of `guix system build'.
<sham1>Oh I see
<sham1>That makes sense
<Noisytoot>GCC 16 on Guix seems to be broken. I can't compile any C++ program using std::isfinite (from <cmath>), for example the example program from https://en.cppreference.com/cpp/numeric/math/isfinite
<Noisytoot>this is the error: https://x0.at/pbsA.txt, and this is the diff from the GCC headers on Nix (where it works) that someone sent me: https://x0.at/ACwj.txt
<Noisytoot>_GLIBCXX_USE_C99_MATH_FUNCS is not defined in GCC 16 on Guix, while it is in GCC 15 and a working (non-Guix) GCC 16 installation
<dariqq>Noisytoot: Might be same issue with "include_next" and libstdc++ that already causes gcc-15 to be misconfigured
<Noisytoot>dariqq: what's the issue with gcc 15? I didn't notice any
<dariqq>Noisytoot: https://codeberg.org/guix/guix/issues/939 try using <cfenv>
<mwette>I'm trying to build prusa-slicer and getting C++ usage errors (`.first' not resolved). I looked back to see which compiler chain it's using but that's not specified as an input. Should it be? https://codeberg.org/guix/guix/src/branch/master/gnu/packages/engineering.scm#L4142
<Rutherther>mwette: compilers aren't specified as inputs, they're implicitly added by the build sytem
<Rutherther>s/sytem/system
<mwette>Rutherther: thanks. makes sense. One guess is that this issue is newer compiler pickiness. https://paste.debian.net/hidden/30782bc7
<Rutherther>also, if you were to add a compiler to the inputs, which might be useful sometimes, you would add them to native-inputs
<Rutherther>mwette: I am getting 404
<mwette>hmm. verified on my end
<mwette>the gist: libslic3r/CutSurface.cpp:1440:112 const EdgeShapeMap& edge_shape_map = cgal_shape.property_map<EI, IntersectingElement>(edge_shape_map_name).first <= first not found
<mwette>C++ is so complicated.