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 <apteryx>Holy moly, all caught up with the Codeberg notifications. I'll be a good for a couple hours. <noxi>What's holding this PR back currently? <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>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 <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 <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? <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'. <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 <Rutherther>mwette: compilers aren't specified as inputs, they're implicitly added by the build sytem <Rutherther>also, if you were to add a compiler to the inputs, which might be useful sometimes, you would add them to native-inputs <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