<pkill9>yes, i should, thank you for helping cbaines
<cbaines>you're welcome. You might want to post about this to bug-guix or guix-devel. This sounds like a reasonable use case, and maybe things could be made easier by providing an easier way of registering a package within the inferior and host Guix processes
<nckx>That's mostly between your kernel and virtualisation software. As far as distro is concerned: you would set vfio_pci.ids=10de:1b80,10de:10f0 on the kernel command line instead of in the Debian-specific /etc/initramfs-tools/modules, and load the module in the same spot (your system .scm). I'm not sure how to blacklist modules.
<nckx>(kernel-arguments (list "avfio_pci.ids=10de:1b80,10de:10f")) and (initrd-modules (list "vfio_pci")), something roughly like that.
<derzen[m]>By the way, if scheme is a programming language, then I can populate text file from the config? What if just I populate /etc/crypttab?
<derzen[m]>Because as I know, crypttab is a part of cryptsetup package, no?
<nckx>derzen[m]: You can create whatever file you want in /etc (or elsewhere) from your system .scm, yes. But no part of Guix is designed to read it. Guix only handles its own native (file-system …) and mapped-devices record syntax.
<derzen[m]>But should it read? Or cryptsetup will work after Guix will do all the mounting job?
<nckx>derzen[m]: Guix calls cryptsetup luksOpen (or whatever the new syntax is) on any LUKS devices configured in your system .scm.
<nckx>It does not run the cryptsetup equivalent of ‘mount -a’, if that even exists.
<nckx>The cryptsetup manpages contains no mention of crypttab.
<nckx>‘The /etc/crypttab file format is based on the Debian cryptsetup package, and is intended to be compatible.’
<bandali>nckx, yes, i have an encrypted / which includes /boot. i'd like 1. the initramfs to be able to hold and pass my / password to the kernel, and 2. have a crypttab-like mechanism to unlock additional partitions using keyfiles stored somewhere in /
<nckx>bandali: Are there any 'better' mechanisms than storing the unencrypted root key in an initramfs on the encrypted root volume? I've never used that set-up, so maybe that's why it sounds fragile & error-prone to me.
<gnutec>nckx, xonotic Is big. I have not internet. Maybe next time.
<nckx>bandali: That was my conclusion when I last looked into it, I just didn't like the conclusion :-p However, I'm now moving away from less-secure LUKS towards more secure file-system-level encryption.
<alloy>Hey Guix! I'm trying to cross-compile a package I defined myself. Because it uses cc as the compiler I set CC=gcc inside the make-flags. How can I generalise it to use for example armhf-linux-gnueabi when cross-compiling for the armhf-linux target?
<roptat>alloy, I don't really know, but doesn't the gcc cross-compiler provide a gcc binary too?
<roptat>I'm a bit surprised, but I never tried cross-compilation myself...
<alloy>I see, it probably does. Still trying to get guix environment working for cross environments, i was surprised it is missing a --target flag
<alloy>Back to my cross-compilation problem.. I think I now know what is going on. I set CC=gcc and there is a native gcc included inside the search path when cross compiling, so it uses the native gcc instead of the x86_64-linux-gcc to build and therefor fails. Any idea how to set CC= always to the 'correct' gcc?
<roptat>also, the description should contain full sentences, and probably explain the difference between this package and gnome-themes-standard. Can you come up with something? then I'll push for you :)
<NieDzejkob>Is the guix boot process documented somewhere? Does the initrd stage use shepherd, like, for mounting the filesystems?
<NieDzejkob>(I'm asking because I'm trying to come up with a good design for mounting LUKS volumes with key files
<NieDzejkob>I think I'll need some way to specify dependencies between mapper-devices and filesystems
<NieDzejkob>or I could make it cycle between finding mapper-devices and filesystems that have become possible to mount...
<roptat>there's a notion of dependency already I think
<pinoaffe>i'm trying to package a tool that uses qt, http://dpaste.com/04477ZB is the list of all qt headers included throughout the codebase, how can I figure out which qt packages I need?
<str1ngs>pinoaffe: start with qtbase atleast. does the project have qt.conf file?
<str1ngs>pinoaffe: sorry I meant a project file with extension pri
<pkill9>and so can chromium (ungoogled-chromium is the package)
<roptat>raghav-gururajan, what do you think of "This package provides themes and related elements that don't really fit in other upstream packages. It offers legacy support for GTK+ 2 versions of Adwaita, Adwaita-dark and HighContrast themes. It also provides index files needed for Adwaita to be used outside of GNOME."
<preciouscookie>Thanks for your answer but my problem is something different. I'm trying to manually define dm service without %desktops-services so it is probablly the reason why system lacks of some packages. Cause IceCat along with Vimb, Next and Qutebrowsers don't play html5 vids at all. So I thought Guix doesn't support any of them...
<roptat>preciouscookie, maybe try to set security.sandbox.content.read_path_whitelist to /gnu/store/ (with the trailing / to mean recursively) in about:config and restart icecat (also make sure your icecat is very recent, since we fixed ffmpeg support only a few days ago)
<roptat>it helped me with webgl, but maybe it could also help with loading ffmpeg libraries, I don't know...
<preciouscookie>roptat Thanks but ungoogled-chromium works just perfect so I'll stick with it. pkill9 Thanks again!
<NieDzejkob>woah, noto fonts are almost a gigabyte! (736MiB to be exact)
<preciouscookie>Yeah, hard to be minimal with this thing. But at least it covers all the languages you'll need.
<pinoaffe>the project im packaging depends on icestorm, and I need to add the path to the icestorm root as a cmake argument, how do I get the string corresponding to the path?
<NieDzejkob>hmm, I'm trying to package xsecurelock, and it uses a setuid helper in libexec/authproto_pam, which doesn't really fit into the model of setuid binaries that get put into $PATH. What would be the best way to solve this problem? Should I patch the package to look for the binary in /run?
***ng0_ is now known as ng0
<roptat>pinoaffe, in a phase you can use (assoc-ref inputs "icestorm") if you have an input named icestorm
<roptat>or in the #:cmake-flags argument, you can use (assoc-ref %build-inputs "icestorm") I think
<gnutec>It is possible play red-eclipse 1.6 with 2.0 online? I think people is change to 2.0.
***freedom is now known as gnufr33d0m
<preciouscookie>Hello guys. Some of the programs don't recognize fonts that are installed from config.scm but those which were installed for user profile are available. Is there anything can be done to make them availabl
<NieDzejkob>What's the procedure for package updates? I just noticed that vim is packaged on version 8.1 while 8.2 is available
<roptat>clone the repository, update the version number and hash of the sources, check that it builds and runs fine, then send a patch
<apteryx>hello! Recently on one of my machine, when trying to unlock an encrypted drive with udisks, using 'udisksctl unlock -b /dev/sdb', it prints the message: Object /org/freedesktop/UDisks2/block_devices/sdb is not an encrypted device.
<apteryx>It works expectedly on another Guix System (prompts for the passphrase)
<sneek>kirisime, raghav-gururajan says: Not yet I am afraid. The file-previewing/thumbnail is provided by 'sushi' along with 'gsettings-desktop-schemas'. The patch adds the latter to gnome, but the former is not packaged yet.
<kirisime>After failing to determine the host guix attempts to use a content-addressed mirror at berlin.guixsd.org, then software heritage, which finally fails because "Servname not supported for ai_socktype".
<kirisime>That's just where I got rid of my offload setup. If there's a way to supply configuration file paths then I'm not sure if it'd qualify as a bug.
<kirisime>It's like, you could either fallback to local building or have the test suite always pass --no-offload, and both would fix not being able to run the test suite when your builders are offline.