<slyfox>i've started to build guix-0.14 in a fresh chroot without guix installed and it did not crash on base16 (and still builds other modules)
<slyfox>I have files like /usr/lib64/guile/2.2/site-ccache/guix/base16.go in system. How does guile does search order in them when 'load-files' from 'guix/build/compile.scm' tries to load them? I suspect it does not force recompilation of outdated files
<civodul>./pre-inst-env makes sure files from $builddir and $srcdir get to the front of the search path
<civodul>maybe there's something in your environment that interferes with that
<thomassgn>Hey, having trouble copying text from emacs to my browser (qutebrowser) in guixSD. Anyone have any tips about controlling clipboard/selection?
<thomassgn>by the way, running guixsd on a macbook pro mid 2012 right now. Works like wonders. Will try to write down my process some of these days, but it was quite straightforward. Though I have to admit blasphemy because I'm using a nonfree kernel.... :( (wireless still not working)
<thomassgn>rereading that, I guess it's all rather blasphemous :)
<buenouanq>thomassgn: have you encountered any weird trackpad issues on the macbook?
<thomassgn>buenouanq: yes. before I configured it, it was only moving the pointer along the y axis on the screen.
<thomassgn>but I got some X11 configs from some "arch on air" guides I looked at, and now it works like a normal touchpad.
<thomassgn>About blasphemy, I'm a bit unsure about the untire sharing how to run nonfree on guix... I've been running nonfree kernel most of the time (mostly because wifi). Like, I've seen once on here someone asking for help running nonfree kernel, and at the time I didn't help out (was also a bit short on time). But like, is there a "policy" or something on this?
<thomassgn>I know that I also probably will be packaging one or two other nonfree programs for my own use, but then I'm really unsure about putting the receipes online or not...
<buenouanq>As part of GNU, I don't think official devs will (or should) offer any real assistance to nonfree pursuits.
<buenouanq>I have no idea what the official policy on this is though.
<buenouanq>My solution to the macbook wifi was to buy a freedom respecting usb dongle ┐( '~')┌
<thomassgn>yea, that's sort of what I'm thinking too. Still split on the issue though. :)
<wigust>pkill9: Extracting of archives handled by build-systems as I remember.
<wigust>pkill9: Like you need to do it manually if you choose trivial.
<wigust>ACTION thinks url-fetch/zipbomb in guix/download.scm could probably do it also.
<jlicht>btw, on a related issue: Is anyone able to install /any/ icecat add-ons on GuixSD? I just tried to download Wappalyzer through the > Tools > Add-ons > Get Add-ons feature, but I get the same error as when trying to load my own xpi files. ("The add-on downloaded from this site could not be installed because it appears to be corrupt")
<pkill9>i keep getting 'phase `unpack' failed after 0.0 seconds'
<jlicht>pkill9: could you share your code via a paste service?
<pkill9>but it comes preconfigured to use the substitute server
<ng0>thomassgn: I think it's okay as long as it's not advertised in these spaces. it's your private opinion in code. that's how I chose to set borders between separate projects, my own projects and my private life. Only the things which happen to be communicated in the officially declared Guix communication channels are project related. Only what I send out to guix-patches is "guix work" for me.
<ng0>if we can't draw borders between what we do, then this is a hell lot of invasive.
<efraim>ng0: about your question last night with building everything, if you pass it to parallel then it'll retry failed builds. I have 'guix build --no-substitutes --keep-going --max-silent-time=1800 $(guix package -A | cut -f1,2 --output-delimiter=@)
<civodul>efraim: yeah something's wrong on berlin it seems
<atw>I would like to run shepherd as my user with a configuration similar to (services ...) in operating-system. That is, I want to specify services with g-expressions that will automatically pull in the needed package outputs. I'd also like to have my profile automatically include what's needed. Does something like this exist?
<civodul>atw: for the profile, there's the 'packages' field
<civodul>and otherwise, what you describe is what happens already, IIUC :-)
<amz3>when I use 'guix package -f FOO.scm" does it install ball the outputs e.g. 'out' and 'debug' or just 'out'
<marusich>The procedure may also differ if you have customized your own environment, for exmaple if you are running Guix from Git, or if you have symlinked ~root/.config/guix/latest to point to ~quiliro/.config/guix/latest
<quiliro>i have to compile so much it take a day to do it every time
<marusich>quiliro, I don't think Guix can currently be told to "only" use substitutes. The availability of substitutes varies at any given time. If you build right after running "guix pull", you probably won't get a lot of substitutes (you can use "guix weather" to check how many you might get).
<quiliro>atw: but that would make me use the latest packages that might not have substitutes
<marusich>If you wait a while after running "guix pull", the availability of substitutes might improve as the build farm catches up to the latest master branch changes and builds them, but honestly you'll probably finish building on your own faster if you just build right after running guix pull.
<quiliro>should i reconfigure inside root or better sudo
<marusich>for now I would suggest doing "sudo bash --login" and then running reconfigure from within that login root shell.
<marusich>Running "sudo guix system ..." should work fine, but if you first get a root login shell, it will be less likely for certain environment variables to be misconfigured.
<marusich>When you run commands via "sudo", like guix, you have to be aware that "sudo" modifies the environment in which the command runs. In particular, it may remove/change some environment variables, depending on the system sudo policy, and also on how you invoke sudo.
<marusich>By invoking the command "bash --login" via sudo, you will help ensure that your root login shell will have all the right environment variables set up (because bash will set them up when it starts).
<marusich>Since you said you are having trouble running "guix" via "sudo", I think it makes sense to first try to get things working by using a root login shell. Later, you can figure out how to properly invoke guix via "sudo".
<quiliro>marusich: thank you very much for all this valuable information
<marusich>Surely thre ought to be a way to tell Guix to fetch all the sources required to build your system
<marusich>Either, you can devise a way to fetch all the available substitutes from the Guix build farm (I don't know how the devs will like that since it would take up a lot of bandwidth), or you could explore setting up your own build farm.
<quiliro>well ... a 10000 step journey is made step by step....how can i make a substitute server?
<marusich>In theory, your "build farm" could just be 1 server that slowly but surely builds a lot of things.
<marusich>Cuirass and Hydra are, I think, two pieces of software that are intended to automatically build all the packages.
<marusich>I don't have experience setting them up or operating them, though.
<marusich>I'll bet that by examining the "guix weather" code, or other substitution-related code, you could probably figure out how to download all the substitutes...but it'd be hundreds of gigabytes, so you should speak with Ludo or Ricardo about whether that's a good idea
<marusich>quiliro, maybe. I think Cuirass is fairly undocumented. Hydra is a Nix thing which Guix also uses. I would begin by searching the email archives for "cuirass" and "hydra", and checking the various Guix Git repos for hints. For example, there is hydra configuration in the "maintenance" repo: https://savannah.gnu.org/git/?group=guix
<atw>I am writing a manifest file with a bunch of (define ...)s. The last s-exp in the file should evaluate to a manifest object. Is that legal?
<rekado_>marusich: problems with the combination of zoho.com’s SMTP servers and gnu.org mail infrastructure.
<rekado_>it’s unclear why but zoho blames gnu and gnu says nothing’s wrong on their end. All my mails are delayed. Very annoying.
<marusich>atw, I think so. Try it and see. If you're curious, the exact behavior can probably be discovered by examining the source code that loads the manifest.
<atw>the reason I ask is that it will evaluate fine with Geiser but when I run guix package -m I get an error I don't understand. Let me get this into a paste...
<marusich>If it's unclear to you, and you figure it out, consider submitting a patch to the documentation. The section "(guix) Invoking guix package" discusses the manifest file, but doesn't answer your question clearly.
<atw>civodul: you're right, I'll have to make a non-monadic shepherd-service-file.
<civodul>i'm also making that change in Guix proper, while i'm at it
<thomassgn>have a stupid question: in the mtrack definition I need mtdev as an input, but mtdev is in the file xdisorg.scm. So I '#:use-module (gnu packages xdisorg))' and then do '(inputs '(("mtdev" ,mtdev)))' Which gives me that mtrack has an invalid input mtdev... how do I ...
<civodul>thomassgn: that's because of ' (quote) instead of ` (quasiquote)
<ngz>Hello. I'm trying to update a package (GNU Solfege), which builds fine, but fails when called. The culprit is a "from gi.repository import Gtk" line somewhere in a Python script. The error is "ImportError: cannot import name Gtk, introspection typelib not found".