<apteryx>sneek: re loaders.cache yes concatenating them would be an option, but it's not guaranteed to be complete either since loaders.cache files are currently only produced by a glib-or-gtk-build-system phase (i.e. any other build system may omit it). Somewhat unlikely but possible.
<apteryx>sneek: later tell civodul re loaders.cache yes concatenating them would be an option, but it's not guaranteed to be complete either since loaders.cache files are currently only produced by a glib-or-gtk-build-system phase (i.e. any other build system may omit it). Somewhat unlikely but possible.
<allana>Hi #guix! I'm currently introducing myself to guix home. Does anyone know of any examples where I can find how to update an existing environment variable in a home service? For example I want to add a custom path to XDG_DATA_DIRS
<allana>Hi guix, currently trying to learn guix home. When applying specification->package to items in a list, I get errors on any package name entries with a ":". For example, there are no problems with "git", but when I have a package name as "git:send-email", an error occurs -- guix home: error: git:send-email: unknown package
<allana>Have I found a bug, or is there an obvious method that I should be using? Can share a pastebin of my home config if anyone is interested.
<zamfofex>allana: I think ‘git:send-email’ is meant to represent the ‘send-email’ output of the ‘git’ package.
<zamfofex>I’m not sure about how ‘guix home’ works, or how that affects you, though.
<allana>zamfofex: this list of packages was actually generated by the auto import tool of my current profile
<vivien>allana, I’m not sure the output is required, if you just require "git" it should install all outputs, including send-email. I’m not sure, you should test it.
<zamfofex>sneek: later tell civodul In case you are interested, I was actually able to update the Hurd packages as I mentioned, and everything seems to actually be working well! I was even able to run netdde and everything, and it seems to be working! Now I only need to figure out how to assign an IP address for my computer manually.
<vivien>rekado_, the style commit should be ignored in that issue
<vivien>civodul told me the styling will be made for all packages at once
<zamfofex>jpoiret: I haven’t tested it on master, only on ‘core-updates-frozen’. I’m not sure whether it will work on master because I thought I saw a error that I assumed was a mismatch with the glibc version when trying it out, but maybe the error was actually distinct.
<rekado_>vivien: okay, I’ll apply the first commit today.
<jpoiret>zamfofex: i'm also running c-u-f so I couldn't say
<zamfofex>Ah, also, ‘qemu-minimal’ doesn’t seem to be able to build successfully in ‘core-updates-frozen’. It hangs/freezes on some test. I disabled the tests to be able to use it, but I think it’s worthwhile to point out, because it probably warrants some investigation.
<vivien>zamfofex, I can build qemu-minimal on core-updates-frozen without a problem
<tschilptschilp23>Hi! Maybe not the perfect place to ask (python) -- but maybe someone quickly understands my error and can rule it out anyway.
<tschilptschilp23>The object is a dictionary with a list as value. The third item of the list is a list itself -- that's the one I want to replace. What surprises me, that if I try to edit it for a single key -- it does it for all of them! I'd expect to have just the values for the given key changed. The code below is straight from my guix-ipython-session, any hint appreciated!
<sneek>civodul, apteryx says: re loaders.cache yes concatenating them would be an option, but it's not guaranteed to be complete either since loaders.cache files are currently only produced by a glib-or-gtk-build-system phase (i.e. any other build system may omit it). Somewhat unlikely but possible.
<sneek>civodul, zamfofex says: In case you are interested, I was actually able to update the Hurd packages as I mentioned, and everything seems to actually be working well! I was even able to run netdde and everything, and it seems to be working! Now I only need to figure out how to assign an IP address for my computer manually.
<apteryx>there's a polkit-duktape as a potential non mozjs (and rust) replacement. I think it's used by alpine linux for example (and I packaged it already).
<apteryx>otherwise we have to help the mrustc author to fix the rust bootstrap on non-x86, or rely on outdated packages
*apteryx checks if polkit can be downgraded to mozjs-60 (doubt so)
<apteryx>nope: configure: error: Package requirements (mozjs-78) were not met
<minikN>Hello. I followed the contributing section in the manual to set up guix for development. This works for packages. However I'm unsure how I'd write a service definition, more precisely, how would I test the service?
<roptat>minikN, you can create a system definition and a VM with ./pre-inst-env guix system vm service-test.scm or similar
<roptat>to contribute your service, you'll also need to include a system test in gnu/tests
<apteryx>vivien: I was planning to merge it on november 1st, but postponed until I could get kexec-tools to build on i686 and the gdk-pixbuf hook error thiago had spot (both addressed now -- need to refresh the branch though).
<apteryx>I guess I could merge it today, and we get to decide what we do with polkit (polkit + fixing rust on non-x86 vs go with polkit-duktape for now)
<civodul>but OTOH we've had reports that things like GNOME 40 work there
<apteryx>I think most of the fallout came from ungrafting webkitgtk/libsoup3; but that's a good resolved thing moving forward (else we'll spend the next months painfully trying to retrofit CVE patches on top of it).
<rekado_>apteryx: sorry for being dense, but I need to ask for clarification. I’d like to fix some more broken packages today. Should I do that on c-u-f or on c-u-f-b-c?
<rekado_>(I want to be sure that pigx builds fine.)
<apteryx>I'd recommend doing so on c-u-f since c-u-f-b-c is going to be rewritten or deleted today
<minikN>mfg: But I think that wouldn't have worked anyway. My service install a package and creates a config file, but the package is only available in my local guix clone, I created that one too before. However the guix system vm command roptat posted went through fine.
<mitchell>Hello guix! I am trying to package yices2 (https://yices.csl.sri.com). There is currently a descrepancy between what the configure script thinks the system looks like (make.include.x86_64-unknown-linux-gnu) and what the make file thinks it looks like (make.include.x86_64-pc-linux-gnu). This only happens when I build with the build daemon. If i build in a --pure -C environment it works correctly
<robin>there's no such thing as a useless as a use of cat. cats get depressed if you don't play with them. in fact, there should be a mandatory home service for running oneko ;)
<mitchell>apteryx: I am attempting to pass (list (string-append "ARCH=" %current-system)) as a #:make-flags but it complains about %current-system not being bound. Do you know where I should look to find what the proper variable should be?
<roptat>you can always insert a | cat | in the middle of a pipeline :)
<mfg>minikN: so i have a hacky way for you to try :D i don't know where the run-vm script itself gets genrated yet, but copying that script somewhere where you can write and changing it's permission sto be writable, you can add "console=ttyS0" to the kernel command line (doesn't matter where exactly, i think) then you get serial output on your terminal if you run the script with -serial stdio
<mitchell>when i do guix environment -C yices2 and run autoconf && ./configure && make it works
<apteryx>because you don't explicitly provide --build option of configure
<Guest79>What's `system*` in guix guile? (besides unsearchable -_-)
<apteryx>how can I test the effect of missing locale? Is entering a container enough? (guix shell -C)
<mfg>So if i understand the documentation of agetty-configuration correctly, it either chooses the right serial prt on its own, extracts it from agetty.tty kernel argument or console kernel argument. agetty.tty and console are not set by default and agetty doesn't use the correct one. How is this supposed to work? To me it seems it's mandatory to set console or agetty.tty in order to get "auto-detection"
<minikN>After building my package, this is what got installed to the store: https://paste.debian.net/1219185/ I can run it fine. But I'm confused as to how I'm suppose to access default.xml. It's a default config to use with the app. I think it's meant to be available in /usr/share/phonesim
<civodul>podiki[m]: thanks! so 85% of your deduplicated files are < 1KiB? that's wholly different from what the rest of us have, fun!
<drakonis>civodul: say, is there any takeaway from your packagingcon talk that applies to guix itself?
<civodul>dthompson: it's worth trying to install just the minimal set of texlive-* packages that you need
<vivien>dthompson, from what I understood, you use a texlive-updmap.cfg (or texlive-union on master) containing all the texlive packages you want, and if one is not packaged, you create a package by using simple-texlive-package.