IRC channel logs

2024-11-08.log

back to list of logs

<marmar>does the remote desktop in plasma settings work? don't have luck with finding tutorials on youtube showing what to do
<bdju>anyone else running into the issue in the last few months where intermittently tmux will take a *really* long time to change windows? like 3-5 full seconds. but then it's fast again after it stops hanging. it's just my local tmux on guix system, I believe. the remote ones are fine. so I think that rules out my terminal emulator and any latency from ssh.
<bdju>think it's an issue that's been plaguing me since my last reboot and I have 57 days uptime currently
<bdju>using sway and foot
<bdju>anyone working on upgrading dolphin-emu to a less ancient version yet?
<aemogie>hi all! it's my first time installing guix and im trying to get an ephemeral root setup working. i was wondering whether /var/guix was necessary for the boot process or does the generated grub.cfg only reference /gnu/store items? for more context: im on a laptop with two disks, a 256gb ssd and a 1tb hdd. i plan to put the store and other files needed for startup on my ssd, and then move the persistent data to my hdd.
<Guest23>Is there a tool that makes packing programs made in Rust easier? Trying to package Niri and it's not that nice. https://github.com/YaLTeR/niri
<bdju> https://forum.systemcrafters.net/t/how-do-yall-develop-rust-projects/780/
<bdju> https://git.sr.ht/~look/cargo2guix maybe this helps Guest23
<Guest23>Thank you <3
<bdju>I'm getting tons of warning during upgrade attempts (my upgrades keep failing partway through) that postgresql-11 is deprecated even though that's not something I explicitly installed myself
<futurile>Morning peeps
<futurile>bdju: I think the postgres warning is referencing other parts of the dependency tree that are still using that package, so nothing to worry about
<Deltafire>aemogie: i think the generated grub.cfg loads the kernel and initrd from /gnu/store
<Deltafire>just checked my grub.cfg, it's definitely loading them from /gnu/store
<Rutherther>aemogie: the grub.cfg refers also to /var/guix, but the mounting of partitions needed for boot will happen in the boot process before these are needed. So it should not be a problem to keep /var/guix and /gnu/store on separate partitions/disks. Keep in mind both these folders are tightly coupled, so don't ever think of running guix with /gnu/store without its associated /var/guix mounted as well. It doesn't matter as long as you don't use guix itself...
<Rutherther>... though, the programs from store are still usable.
<oat>s
<lispmacs[work]>so, I had thought that text following a ``` was supposed to be alt-text or description, but actually the spec required that such lines MUST be ignored by the client
<lispmacs[work]>such test, I mean
<lispmacs[work]>text
<mibes>hello
<ieure>Hi.
<mibes>is this an appropriate place for asking begginer type questions when stuck with using Guix?
<Rutherther>mibes: sure
<mibes>okay great. I'm trying to follow along with this guile tutorial http://gnu.ist.utl.pt/software/guile/docs/docs-1.8/guile-ref/Linking-Guile-into-Programs.html and want to compile/link the c program here. I can't seem to use guix shell to run the gcc command such that libguile.h is found
<dariqq>what do you put in your guix shell?
<mibes>I have tried, for example: guix shell guile -- gcc -o simple-guile simple-guile.c -lguile
<Rutherther>mibes: I see. I would say the easiest is to use pkg-config. So you would do "guix shell gcc-toolchain guile pkg-config", all three packages being important here - to be in one shell. Then you can use gcc "pkg-config --cflags --libs guile-3.0" -o simple-guile simple-guile.c -lguile
<Rutherther>mibes: the thing is that guile include headers are not located in include folder directly, but in a subfolder. pkg-config is a unified tool to tell you where they are actually located
<dariqq>you might need to add gcc-toolchain to update the search paths as well
<Rutherther>dariqq: that by itself won't work though, as guile is in a subfolder under include. So libguile.h file won't be found
<mibes>I ran: guix shell guile gcc-toolchain pkg-config -- gcc -o simple-guile simple-guile.c `pkg-config --cflags --libs guile-3.0`
<mibes>which still doesn't find the header
<Rutherther>mibes: that also won't work. Since this pkg-config command is executed prior to entering the shell, prior to executing the whole command. you need to execute pkg-config INSIDE of the shell
<dariqq>Rutherther: oops , never had to deal with these sort of things manually.
<mibes>Thanks for your help Rutherther
<Sharlatan>hello!
<Kolev>How do I set up Sway on Guix?
<clarkf>Kolev: it seems like there's a `home-sway-service-type', though I'm not sure how/if your login manager would be able to launch a home service properly
<Kolev>clarkf, I was under the impression that Sway doesn't use login managers. You just log into a TTY.
<clarkf>I don't know whether that's necessarily the case, but if you're comfortable with that sort of workflow, the home service ought to work
<clarkf>(I haven't used sway much, personally)
<Kolev>The GNOME experience is broken on Guix System, so I'd rather use Sway.
<clarkf>There are X options other than GNOME, but Sway seems very cool. I used i3 for a very, very long time.
<Kolev>clarkf, what do you use now?
<clarkf>stumpwm
<Kolev>Ah. I don't use X anymore.
<clarkf>I've got an older GPU that doesn't seem to play nicely with Wayland, or at least it didn't last I tried
<Kolev>I see.
<Kolev>My ThinkPad is ancient and Wayland works on it.
<clarkf>I never looked into it too deeply, since I'm fairly comfortable with X, but it seems like Sway/Wayland is quite mature these days
<Kolev>RHEL is going to drop X in its next version.
<Kolev>Anyway, I'm glad i3 and Sway exist. It makes switching between X and Wayland easier.
<Kolev>There's also cwm and Hikari.
<Deltafire>Kolev: what's broken on gnome?
<Kolev>Deltafire, Guix System currently cannot install Guix packages with GNOME Software, for example.
<Kolev>And I'm sure some things in GNOME Settings don't apply to the Guix architecture, like adding users.
<Deltafire>hmm.. i've been using gnome for a while and i've not noticed anything majorly wrong with it
<Deltafire>some annoying things, like i couldn't get remote desktop to work
<Kolev>Deltafire, sure, it works, but I come from a heavily polished GNOME distro, where everything works.
<Deltafire>i think guix in general is a bit rough around the edges
<Kolev>Sure.
<Guest23>Packages that are installed by guix home aren't being added to my path. `~/.guix-home/profile/bin/`has the installed packages in it and `~/.profile` has
<Guest23>HOME_ENVIRONMENT=$HOME/.guix-home
<Guest23>. $HOME_ENVIRONMENT/setup-environment
<Guest23>$HOME_ENVIRONMENT/on-first-login`
<Guest23>Can anyone please point me in the direction to fix this issue?
<clarkf>Guest23: have you tried sourcing ~/.profile and/or starting a new session?
<Guest23>Sourcing ~/profile lets me use the packages. Starting a new session doesn't I think I need to add `source ~/.profile` to ~/.bashrc
<clarkf>Oh. Do you have the bash service?
<clarkf>Did you bootstrap your config with `guix home import`?
<Guest23>Not yet. Adding the service should make it do that automatically right?
<clarkf>Correct
<Guest23>Alright thank you for your help <3
<clarkf>Enjoy!