<nckx>Sure, but no need for " ": " ", just : will do.
<nobodynogroup>hey, looking through logs and searches, it is a little unclear to me if there is a way to install guix sd on a raspberry pi 4. the downloads section says that Guix System is availible on AArch64 but i dont see a download for an image. I saw several questions about proprietary blobs being required to book pi's and potential workarounds using uefi firmware, has anyone got this working?
<roptat>you'll need another (assoc-ref %outputs "out")
<roptat>or you'll hard-code /lib instead of $out/lib
<nobodynogroup>roptat: thanks, i will look into it. i guess I will have to check the next arm board I buy for compatibility
<nckx>blendergeek: Thanks! Typo in gnu/local.mk (nextxcloud-fix-filenames.patch). I'm a bit confused by the rest of the patch: e.g. qsyncthingtray is already in Guix in (gnu packages sync). While we sometimes include package-specific variants, yours looks identical.
<nobodynogroup>i didnt know that the pi needed proprietary blobs when i bought it, i should know better by now than to trust any hardware without looking it up
<nckx>nobodynogroup: There's no bootable aarch64 installation image, but you can boot another distribution, install Guix on it, then ‘guix system reconfigure’ to turn it into Guix System on the next reboot.
<stallion>Evening all - I've been poking about at Guix manifests and I can't seem to find an answer on this. Is it possible to add shell hooks to a manifest such that one could source a Python virtualenv or similar? I'm thinking of something similar to nix-shell if possible.
<ryanprior>Yep that sounds like a smart thing to do, it might be a little less surprising :)
<PotentialUser-74>hello! how do I get the full path of an installed package in the /gnu/store from within a package? I added it as input and then used (assoc-ref inputs "openssl") and it's telling me: unbound variable inputs - I don't get it! I've seen many packages do this and it works for them!
<Guest69238>Hey guys, I get this error when I try to install the guix package manager on popos
<PotentialUser-74>also the software doesnt have an install script, and I am confused on how to install by hand, there's only an executable binary to copy
<nckx>PotentialUser-74: Drop the ,@, or you're trying to evaluate %build-inputs on the ‘host’ (not ‘build’) side, where it is indeed not defined yet. `(#:make-flags (list (string-append "WITH_FOO=" (assoc-ref %build-inputs "foo")) (string-append "WITH_BAR=" …)) …)
<luhux>I want to use Guix to cross compile the raspberrypi kernel, what should I do?
<nckx>PotentialUser-74: You can add a phase that simply calls (install-file …). Look for examples in gnu/packages. Now I must go.
<bdju>anyone had issues with their screenshot bind not working on sway recently? I've got grim taking geometry from slurp bound to super-x, but it doesn't do anything when I press the keys recently. I copied the command out of my config and ran it in a shell and it works still.
<rah>I'm in the process of installing Guix System on an old x86 box
<rah>unfortunately the graphical installer doesn't display properly on a VGA console
<rah>a lot of the text and critically buttons/controls are off the screen
<bavier1>rah: the installer currently assumes a certain minimum screen resolution; I don't know if that is being looked into or not
<nckx>guixy: It's Linux's notion of the ‘console’, the default TTY (kind of). It's mostly the kernel log but also other things. And while none of it is *guaranteed* to be saved anywhere (fun!) most of it is, nowadays, in /var/log/messages.
<ss2>Anyone willing to tell me one gets the multimedia keys working?
<nckx>ss2: The code is (IMHO) finished, I just want to test it in a few failure modes before we unleash it on users. I don't think it will work with the default Guix kernel. So I appreciate the offer to help but can't in good conscience recommend it to a newer user (welcome!).
<nckx>Currently the only (mandatory) failure mode is ‘my laptop reliably hard-resets when I close the lid’ :-/
<nckx>ss2: That's often very desktop-specific. I can help you if you use i3.
<Kimapr[m]>no. there is no such thing as /guix/store (it is /gnu/store). /gnu/store is where everything is stored. you usually have a link to your guix profile (which is stored in /gnu/store) in your user dir
<rah>why would there be packages with no substitutes on the server?
<Kimapr[m]>looks like there is something fundamentally broken in my setup
<Kimapr[m]>rah: because the substitute server doesn't have infinite time nor infinite power
<roptat>rah, when we update a package, it's immediately available to our users, and our build server, at the same time. If you update to that package before the build server had the time to build it, you'll have to build it yourself
<roptat>it could be also that you didn't allow substitutes, so your machine is building everything
<Kimapr[m]>now cargo doesn't accept certificates in container
<apteryx>would someone know how to get rid of: "error: all build users are currently in use; consider creating additional users and adding them to the `guixbuild' group". Can't Guix queue the builds instead of failing?
<nckx>Has anyone perchance packaged dracut for Guix?
*vagrantc had just assumed guix was guile-all-the-way-down-as-it-should-be
<Kimapr[m]>it has a daemon whih is not guile but afaik that's it
***sneek_ is now known as sneek
<nckx>vagrantc: klys asked: hi, I was interested to find a .deb for guix and came across https://salsa.debian.org/vagrant/guix would it be advisable to clone from there and do dpkg-buildpackage and install the result?
<vagrantc>klys: in short that should work on debian's testing release (bullseye), but you'll probably need to disable tests as several fail
<nckx>Hm, ‘guix gc: freed 140,713.22960 MiBs’ while ext4 /gnu/store has 77G free.
<rah>apteryx: that doesn't help me understand either
<apteryx>rah: guix pull refreshes the 'guix' program itself, which comes with the package definitions. When using that 'guix' program to run 'guix system reconfigure', it will rebuild your system using the latests package definitions it knows about.
<apteryx>using either 'guix' or 'sudo guix' uses the same guix package (the one availabel as your user), but using sudo runs that same guix as the root user, which required to change the state of the system (otherwise any users would be able to wreak havoc)
<Kimapr[m]>ooooh adding curl to my environment container ad-hoc fixes the problem and now cargo can fetch stuff yay!
<nckx>Sounds like rust needs a native-search-path.
<nckx>By installing curl, you're piggy-backing on curl's. Which works fine… but isn't great.
<nckx>Kimapr[m]: What's a (ideally one-line) cargo command I could run in a pure environment to reproduce the failure?
<Guest69238>I set the path variable to /gnu/store but I still can't open my installed version of icecat.
***terpri__ is now known as terpri
<nckx>Guest69238: That would only work for /gnu/store/icecat, which doesn't exist. $HOME/.guix-profile/bin should already be part of your $PATH.
<Kimapr[m]>nckx: cargo build on any package with dependencies which need to be fetched
<nckx>Guest69238: If not, run ‘. . ~/.guix-profile/etc/profile’ and try again.
<nckx>Guest69238: Installing Guix should have created /etc/profile.d/guix.sh which should set up those variables for you automatically when you log in.
<PurpleSym>I’m currently looking at how to integrate pypy3 properly into guix. What’s the rationale for having python-wrapper? I mean, it’s not possible to have python2 and python3 in the same env anyway due to how PYTHONPATH works.
<vagrantc>you often need to set PYTHONPATH on a per-application basis ... i think
<nckx>I mean, why can't you just use ‘python-wrapper’?
<PurpleSym>I had to patch python-build-system’s function site-packages to choose the correct search path based on the python input (which can be python2, python3, pyyp3). Now it literally lists /lib/ and looks for a subdirectory site-packages. But that does not work if the input is python-wrapper.
<Kimapr[m]>nckx: most cargo crates have external dependencies, which have to be fetched from somewhere (crates.io in most cases). i'm building hypermine, but now i have an error and looks like it needs a C compiler to build a dependency.
<apteryx>we don't have a pdftk package, right? I'm looking for an option of encrypting a PDF with a passphrase.
<PurpleSym>As far as I see I don’t have access to any of the package’s properties at this stage.
<PurpleSym>Otherwise I would’ve gone for (string-append out "/lib/" (package-name x) (python-version x) "/site-packages/")
<nckx>Damn, ‘guix environment --pure --ad-hoc rust:cargo -- cargo install hypermine’ works fine, probably because I can't container.
<rah>it looks like this is unusable on a machine with limited ram
<nckx>Anyway, ‘right thing’ discussions aside (I agree, they should be propagated, libva suffers from this too): Kimapr[m]: https://paste.debian.net/plain/1156522 should fix your issue, but I don't know how to test that hypothesis.
<nckx>NieDzejkob: I didn't dive in far, but note that libcURL is its own special thing: AFAIK the library *doesn't* handle those variables, and it is indeed the consumers themselves that do. I might be misrembering, but that's a standard disclaimer to be slapped on anything I say.
<nckx>Upstream says ‘libs handling env vars bad’ and that's the end of that.
<apteryx>sneek: later tell rah you can configure swap if you like, in your operating-system declaration.
<bdju>http://ix.io/2rIr anyone have an idea what's going wrong here? other youtube videos work as long as they're not from this same youtube channel, I can youtube-dl this video fine, just not play it in mpv, and someone else verified with the same mpv and youtube-dl version that it worked for them.
<mbakke>the term "relocatable" is funny in Guix, you can copy binaries out of the store and they will work, except if they are using $ORIGIN in RUNPATH (touted as a "relocatable build")
<nckx>bdju: Looks like yet another certificate problem? Works here.
<bdju>ah jeez. what should I do about this? why would other videos work?
<NieDzejkob>Guest69238: also, did you use the installer script, or did you install manually?
<nckx>Guest69238: I answered you above. IceCat isn't in PATH, OK. Installing Guix should have created /etc/profile.d/guix.sh which should set up those variables for you automatically when you log in. Does it?
<nckx>If it doesn't, you can run ‘. $HOME/.guix-profile/etc/profile’ manually, and you should add that to your /etc/profile (or put it in an /etc/profile.d drop-in) so it gets done whenever you log in.
<bdju>I asked a friend in another city (but the same state) to test that video in mpv and he said he gets the same error. I wonder if it's a local-ish network issue. we're not using the same ISP, though.
<nckx>victor_: Sorry about your first experience. It's not a good look. The ‘problem’ is that most Guix contributors run Guix System, where at least IceCat mostly works.
<victor_>I'll stand by on what to do next, since it's not me just misconfiguring something like usual lol.
<nckx>Browsers are complex & hard to fix & maintain, while at the same time being a popular ‘let's try guix!’ first package :-/
<lfam>I would try using the Epiphany browser, or just using a browser from your host distro
<lfam>Epiphany is sort of simple compared to Icecat or Chromium but it does work and gets security updates
<victor_>@nckx no need to apologize, Guix has been a revelation to me, so all this birth pain is worth it to me. If I could I'd just run Guix all the time but so much of the software echo system is proprietary
<guixy>tty1 by default receives the kernel log, which is a distraction. I was able to silence most of it with dmesg -D, but when I log into another virtual terminal it logs that login/logout to tty1. Is there a way to stop this?
<victor_>I guess I'll just have to install icecat the regular way .
<lfam>guixy: I don't know the answer to your question. Did you try googling it?
<lfam>victor_: Epiphany works with Youtube if you also install gst-plugins-base, gst-plugins-good, and gst-libav
<nckx>mbakke: I wonder if ba1e4ce256 should be reverted after all, unless Rust packages are relatively cheap: <https://ci.guix.gnu.org/eval/15095>. Despite rust itself not changing, it does seem to propagate changes ‘outside’ of the hash to their build environment.
<branjam>Guile/guix on a few of my computers fails to recognize a certificate file with non-ascii characters while building standalone images. Would I be able to solve that with config changes or should I forward the issue to the mailing list?
<nckx>branjam: Guix builds should be almost independent of configuration. Please send a bug report to bug-guix at gnu.org, with the failing command(s) and as much output as you think is reasonable (or more).