IRC channel logs

2024-12-24.log

back to list of logs

<fnat>I have an already formatted disk (EFI partition, root partition) and I'd like to install a Guix system to it. Is it possible to do it via QEMU?
<fnat>It's a USB disk.
<fnat>Installation-wise, I'd be at the point where I mount the disk partitions to '~/mnt' and '~/mnt/boot/efi' and then run 'guix system reconfigure config.scm ~/mnt'.
<homo>if not difficult, I need a trivial 6-line patch to get merged (it takes me too much time and SWAP space to rebuild kernel on every pull), it simply enables emulation of /dev/dri when gpu is not supported to keep both gdm (even in x11 mode) and wayland working, and in worst cases to prevent system from freezing https://issues.guix.gnu.org/74778#2 (its confusing name has nothing to do with digital restrictions malware)
<fnat>(Ooops, I meant 'guix system init ...', not 'reconfigure'.) I might have solved the underlying problem that was pushing me to QEMU... I needed 'herd start cow-store /mnt'.
<fnat>Hm, I get a '...modinfo.sh doesn't exist. Please specify --target or --directory' error at the end of the manual installation.
<fnat>Grub thinking I'm installing in BIOS mode?
<fnat>How do I force Grub to use UEFI instead?
<fnat>Hm I think I found an answer here https://www.mail-archive.com/help-guix@gnu.org/msg02283.html
<apteryx>ACTION will try this p11-kit/gnutls experiment: https://paste.debian.net/1341081/
<cancername>how do y'all deal with secrets in your guix configs? for instance, I manage my (encrypted) PGP keys using guix home, however, publishing my dotfiles would also make all my PGP fingerprints and keyring public. my instinct would be to just chuck age- or whatever-encrypted files into my dotfiles repo, but that's mildly cursed.
<kyoji>hey all! I am trying to install ansible but its failing when building a derivation for python-resolvelib-0.7.1. I tried creating a shell specifically with this package (guix shell python-resolvelib@0.7.1) and was able to reproduce the problem. I'm very new to guix and I'm unsure how to go about trouble-shooting this. using zcat to view the build logs isn't very helpful as I'm not sure what is relevant. Thanks for any help!
<kyoji>I am on guix commit 0aeb38eac6f0e8ab22d34faf4dae275f17a5fea1 in case that is relevant
<cancername>kyoji: could you send the build log?
<cancername>yep, reproduced: https://0x0.st/8rpF.drv.gz
<cancername>it seems lie it's "just" a build failure
<kyoji>cancername: its rather long, where should I put it?
<kyoji>ok, well at least glad to hear it isn't just me :)
<cancername>kyoji: I already uploaded it :) I'll find the commit that introduced it and then you'll hopefully be able to use `guix time-machine ...` to revert
<kyoji>cancername: took a look at your build log and it looks essentially identical, thanks for sharing
<kyoji>cancername: thanks! when finished would you mind sharing the steps you've taken to do that?
<cancername>kyoji: I just ran `guix shell ansible` to repro, I'm trying to see which commit introduced that now
<cancername>I'm new to guix, so I'm not yet sure how to
<kyoji>well thanks for the help :)
<kyoji>I am looking with you, and the most recent commits I can find that reference either ansible or resolvelib are from october 23rd
<Googulator>Alright, I think I'm gonna leave it at this point: https://gist.github.com/Googulator/4fbf4c02802ec30e182338eec4b983b6
<Googulator>GHC 4.08 -> 9.2 bootstrap confirmed working on i686. On x86_64, rts fails to build in the libs-boot phase of the ghc-cross build, with a strange error that seems fundamentally identical regardless of whether I pass the regular or cross GMP & co libraries.
<kyoji>cancername: thought I was getting somewhere with '
<kyoji>'guix shell --container --nesting --network openssl nss-certs coreutils' then 'guix time-machine --commit=d38d7d0 -- build ansible' but a different derivation failed
<kyoji>In over my head though, so this is a problem for later. Thanks for your help
<cancername>same here
<cancername>is changing the file systems in the guix system config, then running guix system init, then booting from the new device, a correct way of installing guix system? if not, which steps should I take?
<efraim>cancername: I just woke up so its too early for me to answer some of your other questions, but here's how I handle some of my secrets in guix home. https://git.sr.ht/~efraim/guix-config/tree/master/item/efraim-home.scm#L218 I'm going with 'blursed'
<cancername>efraim: thanks! that's very nice
<Gooberpatrol66>cancername: https://fishinthecalculator.me/blog/secrets-management-with-sops-guix.html
<cancername>ooh Gooberpatrol66, thanks!
<Gooberpatrol66>is it possible to pull a channel in guix, but only for a guix shell? so i can do development on a branch of a channel inside a guix shell instead of reconfiguring my guix home with it?
<cancername>Gooberpatrol66: you can use -L to set the load path to the directory that particular channel is contained in
<cancername>but that's not quite the samwe
<Ironsmith>hello, is there a way to get my user id so that i can dynamically mount a file system and give it permissions like (file-system (options (string-append "rw,uid=" (get my uid somehow)))))
<Ironsmith>oh nm i just have to chown the mount point don't i
<cancername>when I run `guix system init` from an up to date guix system with all my channels, the system installed into the location specified is very old and does not have the channels I configured from the previous system, even though the guix-home service is in the config.scm. why is that, and how can I `init` a more updated system?
<fnat>I get this "modinfo.sh doesn't exist" error when installing Guix system on a USB drive: https://paste.debian.net/1341115/.
<fnat>I found this yesterday that I thought might be relevant https://www.mail-archive.com/help-guix@gnu.org/msg02283.html but that didn't help either. I switched bootloader in my installation image so that the installer and the final system would both use the same (UEFI).
<jas>hi! building cmake-bootstrap fails for me on arm64, but i cannot reproduce it on my local arm64, any ideas from this build log? https://gitlab.com/debdistutils/guix/container/-/jobs/8714636512
<jas>first failure is here: https://gitlab.com/debdistutils/guix/container/-/jobs/8714636512#L1748
<Rutherther>fnat: what does your config look like, and how are your disks mounted? (lsblk)
<Rutherther>also, just to check. That file modinfo.sh itself, does it exist in that path?
<fnat>Rutherther: This is how the disks are mounted https://paste.debian.net/1341123/ and no, no trace of modinfo.sh at that path. I'll copy a version of my config somewhere.
<fnat>Rutherther: I've just pinged you on the other IRC channel.
<mgd>Hello everyone, I'm a beginner with Guix and I'm running into some issues while trying to install or upgrade packages. When I attempt to install `python-mypy`, I receive an error about conflicting entries for `python-typing-extensions`, which seems to be propagated from several other packages like `python-pandas` and `python-matplotlib`. I tried
<mgd>upgrading both `python-mypy` and `python-pandas`, but then I encountered another conflict related to `python-dateutil`, which is also linked to `python-pandas` and `python-matplotlib`. The hints suggest upgrading both `python-pandas` and `python-matplotlib`, or removing one of them from my profile, but I'm unsure how to proceed without causing
<mgd>further issues. Has anyone experienced similar conflicts or have any suggestions on how to resolve this? Any help would be greatly appreciated. Thank you
<Rutherther>mgd: if you want to update python packages, you are going to have to update them everywhere you use them in the profile
<Rutherther>the versions have to be the same in one profile
<mgd>Rutherther sorry, how do I do that? I thought running `guix pull` and `guix upgrade` would do that
<mgd>I'm the only user on this machine
<Rutherther>not necessarily, depends on how you installed the packages
<mgd>I tried to install everything through guix and nothing through `pip`
<Rutherther>what manifest does "guix package --export-manifest" produce for you?
<Rutherther>pip is irrelevant to guix profile conflicts
<Rutherther>the conflicts are WITHIN the profile
<mgd> https://pastebin.com/smzTgTLn
<Rutherther>mgd: that python-pandas@2.1 is likely causing the problems
<Rutherther>you need to "unpin" it
<mgd>sorry, what does that mean and how do I do that?
<Rutherther>I am not sure what the best method is, since I am not using this interface, but one would be to just guix remove python-pandas, guix upgrade and then guix install python-pandas again
<mgd>oh, is it because it installed a specific version? I assume that's what the `@` sign means
<Rutherther>yes, at one point you specified 2.1, so it probably stays at 2.1
<mgd>I don't remember installing a specific version but that you. I will try that now
<mgd>Rutherther that seems to have worked. Thank you so much for your help. I really appreciate the opportunity to learn more about Guix
<mgd>Sorry, I have this error now but I don't think it's related
<mgd>`substitute: updating substitutes from 'https://substitutes.nonguix.org'...   0.0%guix substitute: error: TLS error in procedure 'write_to_session_record_port': Error in the push function.
<mgd>guix upgrade: error: `/gnu/store/ci30hgnmr7jpy5z74kmfzfxykgasx67w-guix-1.4.0-29.3032221/bin/guix substitute' died unexpectedly`
<Rutherther>that happens sometimes, should usually be fine after rerunning
<freakingpenguin>cancername: I'll join the crowd and share how I handle secrets. https://www.freakingpenguin.com/blog/guix-tricks-managing-secrets-using-password-store-and-run-time-decryption-scripts.html
<h4>How to `bash --command 'sudo herd log nscd'`
<whereiseveryone>hi is there currently a way to sort tickets in mumi?
<whereiseveryone>i realize that there is date:2d..now
<whereiseveryone>and date:2012-04-18..2022-04-18
<whereiseveryone>and date:1m..today filters
<whereiseveryone>but I just want to simply sort the days
<whereiseveryone>that is, sort the tickets in reverse chronological order
<cancername>anyone know how I can run a command on home reconfigure to postprocess some files?
<homo>whereiseveryone if you click on date, it will sort by date in reverse order
<homo>"date submitted" that is
<freakingpenguin>cancername: Extending home-activation-service-type is probably what you're looking for. Depending on what you mean by postprocess it might get complicated.
<csantosb>Wow ! Christmas gift ... plenty of new emacs updates
<whereiseveryone>maybe guix needs an improvement to the installer like this?
<whereiseveryone> https://determinate.systems/posts/determinate-nix-installer/
<whereiseveryone>the determinate nix installer handles selinux on fedora distributions
<whereiseveryone> https://julianhofer.eu/blog/01-silverblue-nix/
<whereiseveryone>homo: i didn't realize that those were clickable. they don't look like buttons. thanks
<whereiseveryone>the default should probably be reverse chronological order
<Rutherther>cancername: could you be more specific? it would be either by making a package, ie. if you want to change files from another package. Or by activation service that has been already mentioned, when you want to edit something inside of your home that didn't come from guix home itself
<whereiseveryone>instead of random shuffle order
<homo>understandable, I also get confused by invisible buttons
<homo>I miss 3D looking buttons
<[>the guix libcgroup package is broken: include/libcgroup.h:21:10: fatal error: libcgroup/systemd.h: No such file or directory
<[>it provides a header file that includs a nonexistent header
<whereiseveryone>[: feel free to send a bug report
<abbe__>Is guix package broken?
<efraim>I haven't tried building it after the libssh update
<efraim>for reference that was about 3 hours ago, it was building fine before then
<abbe__>yes, only the most recent is broken
<abbe__>%exception #<&invoke-error program: "make" arguments: ("check") exit-status: 2 term-signal: #f stop-signal: #f>
<abbe__>build output https://usercontent.irccloud-cdn.com/file/RZc6gpXu/guix-check.log
<efraim>guix built on ci.guix.gnu.org, so I'm not sure what's up
<abbe__>I do have several channels in my guixsd configuration, nonguix, and a personal channel, and also i'm not sure why guix package is suffixed 790c9ff
<abbe__>when I'm on guix revision eb6d784
<abbe__> /gnu/store/rxz3i1f01nn34yswgd0v5krl8f4gj62m-guix-1.4.0-30.790c9ff.drv
<abbe__>guix search guix returns => guix-1.4.0-30.790c9ff
<abbe__>I see now :) https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/package-management.scm#n176
<abbe__>I wonder what is https://ci.guix.gnu.org/build/7541867/details building exactly
<jmes>Hey, I should've learned this earlier but how do I test changes to my guix channel locally (i.e. without pushing to the remote and guix pulling)?
<Googulator>Is there a way to disable substitutes for a single package? i.e. pull substitutes for all dependencies where available, but build that one package from source
<jmes>I've added a service I just want to see if it will run properly before committing.
<Googulator>something like `--no-substitutes=gcc@4.9.4`
<abbe__>Googulator: guix build --no-substitutes gcc@4.9.4, perhaps?
<abbe__>jmes: I do this: guix build -L /path/to/guix/channel ...
<abbe__>or guix system build -L /.../... ...
<jmes>abbe__: Ah, thanks, I think that will work exactly how I need :) Appreciate the help
<abbe__>np :)
<homo>Googulator: guix shell -D package
<homo>it will pull only dependencies for that packages
<efraim>now there's a guix build -D package to build the dependencies of a package
<homo>build dependencies instead of downloading substitutes of them?
<Guest37>guix install: error: gcc-arm-none-eabi-12.3.rel1: unknown package  but .. https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/embedded.scm how to install the arm gcc toolchain (in x86-64)?
<Rutherther>Guest37: the package is not exposed, it's a function, so you need to call it
<Rutherther>so "guix install --expression="((@ (gnu packages embedded) make-gcc-arm-none-eabi-12.3.rel1))""
<Guest37>install didn't work but guix shell -e "((@ (gnu packages embedded) make-gcc-arm-none-eabi-12.3.rel1))" did
<Guest37>thank you
<Rutherther>right, it's actually guix package --expression=, not guix install
<Guest37>just curious why is gcc-toolchains not installable?
<Guest37>I mean cross compiler toolchains
<Guest37>besides the mingw ones
<Rutherther>they are installable
<abbe__> https://cuirass.genenetwork.org/build/223179/details found it here
<homo>wow, after recent guix pull, gdm stopped working
<homo>ah, I forgot to switch to branch with custom kernel, that makes sense
<Googulator>efraim: so `guix build -D package-not-to-be-substituted; guix build --no-substitutes package-not-to-be-substituted; guix build final-package` - right?
<homo>btw, amdgpu in nomodeset is useless
<homo>ACTION waiting hours to recompile linux-libre with simpledrm driver again