IRC channel logs


back to list of logs

<atw>So I tried to verify the x86_64 GuixSD image and it said "by expired key 090B11993D9AEBB5 Ludovic Courtès <>". also, it appears that is down. Could someone tell me what the sha256 of the image is supposed to be? Thanks!
<atw>(messed up the copy-paste. the message was "Signature made by expired key 090B11993D9AEBB5 Ludovic Courtès <>")
<Gamayun>Maybe try refreshing the key form a different server. I've just done it here..
<atw>I have to run now but I will try that when I next get the opportunity
<amirouche>it's amz3
<amirouche>I have issues while trying to boot the usb key on my libreboot enabled laptop
<amirouche>it loads the background but nothing change in the menu except that
<amirouche>I don't have the menu for booting the installer
<amirouche>I mean the OS on the usb key
<davidpgil[m]>I just made an ISO and followed the instructions here: ... The DVD won't boot.
<davidpgil[m]>I happen to not have USB access on this computer. So I am stuck with trying to boot it from DVD. Yes, other DVDs boot flawlessly.
<davidpgil[m]>Is this a known issue?
<davidpgil[m]>I mean I made a DVD from the ISO*
<amz3>so i successfuly booted an iso with libreboot's grub
<amz3>by specifying manually the root, linux and initrd
<davidpgil[m]>I have no idea how to do that
<dadinn>hi guys
<dadinn>i am trying to use the binary installation to bootstrap a system, but i would need at least some basic binaries in the root profile
<dadinn>i am trying to use the binary installation to bootstrap a system, but i would need at least some basic binaries in the root profile, and they are not there (example is a bourne shell, sh)
<brendyn>there should be a shell
<brendyn>Anyone know a way to stream twitch with libre software?
<ofosos>does guix have any two factor authentication apps? I want to setup one, but yubioath-desktop does not compile, because it (transitively) depends on bleeding edge libstdc++
<Stream11>how to use os-prober package in guixsd?
<shiranaihito>so what exactly happens with any "local-file" in a system config? someone said Guix will somehow "manage" it, like if it's changed, then.. a related service will be restarted, i guess?
<shiranaihito>the "local-file" will live in the Guix Store, but .. it wouldn't be edited there?
<georges-duperon>Hi! Does anyone have a pointer to a reliable guide on how to install fonts on Guix?
<georges-duperon>The section in the official guide instructs me to run:
<georges-duperon>guix package -i font-dejavu font-inconsolata font-iosevka font-terminus xlsfonts xset fontconfig; xset +fp ~/.guix-profile/share/fonts/truetype; fc-cache -f
<georges-duperon>but the xset command fails (bad font path element (#0), possible causes are: <<<bogus reasons>>>), and I cannot use the installed fonts within my guix-installed emacs.
<georges-duperon>(I'm running guix on top of a xubuntu, not guix-sd if that changes anything).
<georges-duperon>Hm, so actually xset seems to fail if the "fonts.dir" file is a symlink (
<georges-duperon>Not sure how that config file would apply in my case, though, so for now doing cp -rL ~/.guix-profile/share/fonts/truetype ~/.guix-fonts && xset +fp ~/.guix-fonts each time I install a new font will do the trick.
<shiranaihito>wtf.. is the "passwd" command not installed by default?
<shiranaihito>oh ok.. it seems i'm not supposed to "sudo su" and do stuff
<shiranaihito>was there a "fix" planned for the postgresql data directory setting? i mean, if the data dir doesn't exist before applying the system config and rebooting, now i get errors until psql is disabled
<shiranaihito>i think i forgot to set the root password (or i'm not allowed to "su" into root), but now i'm not sure how to fix it if "sudo su" results in commands not being available
<amz3>yet another guix install (on top of ubuntu for the time being...)
<ancdel>I'm trying to install guixsd from a usb device. I have verified the integrity of the downloaded image, and used unetbootin to install the image to the usb stick. However, when booting from the usb, all I get is "Boot error" (no additional info/content onscreen, pressing any key just repeats this message).
<mlin>Hi everyone, I'm installing i3-gaps, and for the `configure` script, it requires --prefix and --sysconfdir flags. What I put as these, given that on many other distros they are `/usr` and `/etc`?
<mlin>What do I put as these?*
<ancdel>I tried not using unetbootin and just dd'ing the iso unto the usb stick, but all I get now is "GRUB" and nothing else. Nothing happens if I press keys.
<amz3>mlin: it's preferable to write a package recipe to install custom package
<amz3>mlin: maybe it's mandatory
<mlin>amz3: what is that?
<mlin>I'm following this
<amz3>mlin: try --prefix=$HOME/.local or something like that
<amz3>ancdel: what is the bios of the machine you are booting the usb key
<amz3>ancdel: that's expected to have a grub menu with the usb key, but it should boot an OS at some point when you enter on the correct menu entry
<amz3>mlin: package recipe is a scheme program that specifies how to compile the lib/program you want so that it's correctly added to the guix filesystem
<amz3>mlin: AFAIK configure/make/make install is not officially supported
<mlin>I see
<mlin>Is there a manual on that?
<amz3>mlin: that said, coding the correct package recipe for autotools based programs is the easiest thing to do
<amz3>mlin: I pasted the link above called 'Package Management'
<mlin>amz3: I see, which page is it on?
<amz3>mlin: sorry, it's the wrong manual page, look at
<ancdel>amz3: there is the text, "GRUB" and nothing else on screen. There are no menu entries. Nothing happens further. The bios is whatever shipped with this thinkpad t470, it's not librebooted yet. I can't find more information about the specifics, though.
<amz3>mlin: Packaging guidelines
<mlin>amz3: Ah thanks
<amz3>ancdel: maybe the usb key is not good enough, try another usb key and use dd to create it
<amz3>ancdel: try to usb key on another machine also
<amz3>mlin: another way to install guixsd, is to install another distro and install guix and then run guix init to switch to guixsd
<amz3>mlin: that was meant for ancdel
<amz3>ancdel: otherwise said, if you already have a GNU/Linux OS on the t470, you can install guixsd going through guix binary install
<ancdel>amz3: I have used this usb keys multiple times with no problems, be it ubuntu, debian, systemrescuecd or anything else I've tried I haven't had problems before. I didn't know about the guix binary install, this seems like a good way to go.
<mlin>amz3: where do I save the definition seen at
<amz3>that's the issue with usb keys, they get old
<amz3>mlin: save it in a file called my-package.scm
<mlin>amz3: any particular directory?
<amz3>for the time being you can paste it anywhere
<amz3>mlin: at the end of the file, add a 'hello' without quotes in a newline
<amz3>hello as the package name
<mlin>amz3: why?
<amz3>because that's how it works with 'guix package -f package-recipe.scm'
<amz3>then you can run 'guix package -f package-name.scm' and it will install the package specified in package-recipe.scm if the last expression of the .scm evalutes to a package definition, that's why you must add the name of the package at the end of the file
<amz3>you can do otherwise but it's more complicated
<mlin>That makes sense thanks.
<mlin>How do I add dependencies?
<amz3>mlin: you knoz scheme?
<mlin>amz3: to an extent, but how do you reference a guix package within this particular file?
<mlin>amz3: is it like `#:use-module (gnu packages gawk)`
<amz3>the part where gawk specifies the dependencies
<amz3> (inputs `(("gawk" ,gawk)))
<amz3>it's a specific kind of dependency, I think it's dependencies required at runtime
<amz3>mlin: yes
<amz3>mlin: you must import the dependencies
<mlin>So do I add them after `gnu packages gawk` and also in `(inputs`?
<amz3>you must remove gawk and add the required dependencies
<amz3>mlin: that said, there is package definition for i3, use 'guix edit i3-wm' to have a look at it
<mlin>amz3: ah so for this package it replaces i3-wm, how do I ensure that there isn't a conflict?
<amz3>mlin: you give it a different name, like the official one i3-tabs
<amz3>mlin: you give it a different name, like the official one i3-gaps
<mlin>Oh I see
<mlin>I get this error: `no code for module (gnu packages perl xcb-util-wm libev pango)`
<amz3>mlin: you know python?
<mlin>amz3: yes
<amz3>basically, #: use-modules (foo bar baz) is equivalent to python from import *
<amz3>so you must create use-module per line per module
<amz3>you want to import
<mlin>Now I'm getting the error `no code for module (gnu packages xcb-util-wm)`
<amz3>try: guix package -A xcb-util-wm
<amz3>it will give you a gnu/path/to/module.scm use that for #:use-module (gnu path to module)
<amz3>and do the same for all the other packages required as input
<shiranaihito>applying a system config has gotten ridiculously slow, seemingly because of limited bandwith
<shiranaihito>is there some kind of limit per IP address per day or something?
<shiranaihito>.. and how could i host a "proxy" or "cache" to avoid using "too much" of's bandwith?
<shiranaihito>(i think i'd do that anyway, once i'm running a "serious environment" :P)
<amz3>shiranaihito: did you guix pull recently? sometime updates are slow because there is no more binary package on hydra
<OriansJ>shiranaihito: you could always host your own build server on your own network
<ancdel>I tried the binary install and I'm stuck on the verifying guix works step: guix package -i hello gives "guile: warning: failed to install locale" "warning: failed to install locale: invalid argument", as per the manual trying guix package -i glibc-locales does the same, and this never goes furhter
<ancdel>daemon says: "accepted connection from pid XXXX, user root" and nothing further
<shiranaihito>amz3 should i guix pull before installing guixsd too?
<shiranaihito>OriansJ yeah, i guess a "build server" is what i need.. ? so i could then point the "guix" command at my own build server when applying system configs etc?
<OriansJ>shiranaihito: yes
<shiranaihito>how do i list all users in the system? it seems there's a separate user for postgresql, but the system config application didn't set up the data dir's ownership etc.. it could handle the whole thing based on the config setting ofc
<efraim>Mesa on core-updates just keeps on getting updates
<shiranaihito>OriansJ ok, cool :). but what does "caching" mean then? it sounds like without caching turned on, the "published" substitute server would just fetch packages from and pass them on to the machine that's using it as a substitute server
<ng0>sneek: later tell Apteryx: I'm working together with someone on the Docker package. We decided that I'll mentor him on the Guix package creation, very little dependencies are missing and he's done the building and packaging of Docker on another OS before.
<sneek>Got it.
<ng0>If only there was a way to use the heat from a laptop while compiling Chromium to make food or hot drinks..
<ng0>only 4000 steps left. will it finish before I have to catch the train.. modern webbrowser monsters.
<ng0>hey, next month this channel is 4 years old :)
<ng0>*will be
<Apteryx>sneek: later tell ng0 Sounds good :)
<sneek>Apteryx, you have 1 message.
<sneek>Apteryx, ng0 says: I'm working together with someone on the Docker package. We decided that I'll mentor him on the Guix package creation, very little dependencies are missing and he's done the building and packaging of Docker on another OS before.
<ancdel>After successfully installing guix, what do I need to do to convert the running system into what amounts to guixsd? For example how do I cleanly change the init system?
<joshuaBPMan>ancdel: why don't you just install guixSD?
<joshuaBPMan>It would probably be easier to just install guixSD instead of trying to convert a running system to guixSD...
<efraim>I had to do it also, couldn't get GuixSD to install on btrfs
<efraim>I think most people run `guix system reconfigure os-config.scm', but `guix system init ...' as mentioned in the manual should also work
<ancdel>joshuaBPMan that's what I tried but the dd method resulted in a black screen with the text GRUB and nothing else (i.e. no menu entries, keys do nothing), while trying with unetbootin resulted in the text "Boot error" with no further information, using keys just repeated the message.
<ancdel>I'll figure out how to write a config and try `reconfigure`
<efraim>For testing configs I normally run 'guix system build os-config.scm' first
<efraim>Example configs are here
<ancdel>thanks, I was just about to ask
<efraim>I have a couple here
<ancdel>is there any comprehensive docs for the configs? I can't seem to find anything beyond the examples (and other people's).
<ancdel>for example I have grub on an encrypted partition, and it seems swap files aren't added through (file-systems)?
<efraim>i have no idea when it comes to encryption an configs
<ancdel2>actually my setup is: grub installed in efi, unencrypted; /boot is under lvm, the lvm volume (let's say /dev/sda1) is encrypted
<ancdel2>Can I proceed as in but use grub-efi-bootloader instead of grub-bootloader? Is the (device-mapper) target the name of the /boot or of the vg?
<ancdel2>e.g. is my boot on /dev/"my-root"/boot or is it on /dev/mapper/"my-root"?
<atw>ancdel2: not exactly what you're looking for but there is
<atw>Gamayun: thanks for the advice yesterday, recv-keys worked when I tried it a few hours ago
<Gamayun>atw: Glad it worked! :)
<ancdel2>Any idea how to specify a swap-device on an encrypted volume? In particular it needs a dependency on the device-mapper somehow but I don't see any syntax for that
<atw>ancdel2: I'm reading and I'm guessing you might do something like the cryptsetup commands described there, but instead of doing mkfs.ext4, do mkswap. Maybe you could also solve your problem by making a swapfile on an encrypted filesystem?
<ancdel2>atw: the partitions are already setup, it's how to describe it as a guix config that I don't find information
<emsyr>Hello guix.
<emsyr>I'm trying to build a linux-libre fully compatible laptop. Do you have any bluetooth chip fully open-source driver compatible to suggest?
<nckx>emsyr: I'm afraid I can't help you, but note there's a #linux-libre channel as well. Good luck!
<nckx>(I did a guick search but couldn't find your question there.)
<nckx>*quick (guick, v.: to search with Guix)
<OriansJ>emsyr: well just looking at the FSF RYF certification, I found this: so it should satisfy your requirement