IRC channel logs
2023-06-13.log
back to list of logs
<mirai>pret7 why not use something like ansible/script to provision the secrets? <Kolev>Since installing Guix on Fedora, I can no longer log into my desktop session... <amirny2205>Hi. When installing guix, it tries to access ci.guix.gnu.org, but they're unreachable. How to prevent it from accessing the servers? It's 800mn everything is gotta be there. Thanks. <amirny2205>Plugging of ethernet gives error that it has to be connected to internet <oriansj>amirny2205: no guix is not a light distro by default; it includes a great deal because most people don't know what they need. <stevenroose>I broke my Guix, I think I know what did it, but both Firefox and the guix commands are broken, so I can't easily find fixes or report. <stevenroose>Basically, I think the fuckup was doing `guix install runc` in my home folder so it installed a different runc for my user than for the system. My battery ran out and I rebooted and suddenly most GUI applications give "command not found". <stevenroose>Then also doing `guix package -r runc` (or any other package really, literally any) gives "unsupported manifest format" <stevenroose>I tried running `PATH=<path-without-my-.guix-path> guix package -r runc` but that doesn't work. <stevenroose>Anyone got an idea how to fix this? Or if it's really the runc fuckup that causes this? <stevenroose>Can I manage my user's guix stuff from root using flags? <stevenroose>Hmm, weird, doing `guix package --profile=/home/steven/.guix-profile -r runc` also gives "unsupported manifeste format" <stevenroose>Doing `guix package --profile=/home/steven/.config/guix/current -r runc` says it doesn't have the package. Why is there two profiles for my user? <stevenroose>Heh, it seems that `/home/steven/.guix-profile/manifest` is empty <stevenroose>Strange.. My laptop did a hard shutdown because of battery. But I <stevenroose>I didn't think I was doing guix stuff in the meantime <stevenroose>Wow I didn't know Guix was such a European project :) It's 03:43 here (Prague) and there seems to be noone <pret7>your login shell sources your guix profile somehow im guessing? <pret7>I don't have a foregin distro setup anymore so can't confirm <pret7>but I think removing the guix related stuff from whatever your login shell is sourcing (~/.bash_profile, ~/profile) should atleast fix the gui program issues <stevenroose>pret7: yeah somehow the manifest file is empty, but the other one isn't (why is tehre two profiles?) <stevenroose>I wanted to set it to the other one, but ofc they point to the store so they're read-only <pret7>you mean the root profile and the user profile right? I found that really confusing too. <stevenroose>Is one the system profile and the other the user one? They both look like a user one? If I run that command as root, I get: <stevenroose>So the TL;DR is that somehow my <profile-dir>/manifest file is empty which makes me unable to do any package manipulations, it seems. <pret7>Hmmm, I think the current-guix is for guix itself <pret7>and the ~/.guix-profile is for the default user profile <pret7>guix package --roll-back might work <stevenroose>gonna do another guix pull and reconfigure cycle from root this time <Kolev>pret7: does gnome do .profile or .bash_profile? <Kolev>pret7: commenting out Guix .bash_profile lines did not fix login <pret7>uh depends on your login shell, for me stuff gets sourced from /etc/profile and ~/.profile (which gets stuff from guix home) <pret7>is there guix stuff in your /etc/profile? <pret7>hmmm wait your issue is that you can't login? <pret7>and you're on a foreign distro right? debian? <cow_2001>the `guix install guile gnutls guile-gnutls` setup is making weird errors. (@ (web request) http-get) fails to get an https. <cow_2001>In procedure dynamic-link: file: "/gnu/store/0i81lpfnn05pmjc5f43q4nfvd27r08f7-guile-gnutls-3.7.12/lib/guile/3.0/extensions/guile-gnutls-v-2", message: "file not found" <maybe-mekeor>hello. when using guix on a foreign distro and starting X with `xinit ... -configdir ~/.guix-profile/share/X11/xorg.conf.d`, how to install another xorg-configuration file into that directory? can i use xorg-configuration within a package definition, possibly using copy-build-system? <iyzsong>maybe-mekeor: you can use 'xorg-wrapper', from (gnu services xorg)), to build a package with custom 'X' command and config (ref: xorg-server-profile-service) <maybe-mekeor>iyzsong: cool, thanks :) i guess i can use (xorg-wrapper my-conf) within the copy-build-system <maybe-mekeor>i guess i could have just used xorg-server-profile-service if it was exported <iyzsong>yeah, any lower-able object (package / file-like, etc) can be referenced in gexp, source/inputs are referenced in the same way in gexp too. <maybe-mekeor>another question: having password-store installed and using zsh, auto-completion for 'pass' does not work for me. what's wrong? this symlink also exists: ~/.guix-profile/share/zsh/site-functions/_pass <iyzsong>not sure, but maybe zsh need some environment variable or config in zshrc find its complections? <Ack25>i just did a fresh guix install <Ack25>@haskwuek2 well i rebooted to get into the system <Ack25>but an err pulls up and freezes <Ack25>GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread <Ack25>GC Warning: Couldn't read /proc/stat <Ack25>Welcome, this is GNU's early boot Guile. <Ack25>Use 'gnu.repl' for an initrd REPL. <Ack25>Scanning for Btrfs filesystems <Kolev>Installing Guix on Fedora 38 broke my system. I cannot log in anymore. <civodul>Kolev: hi! could you be more specific: what happens when you log in? any error messages? <Kolev>There are no error messages. I log into GNOME, the screen goes gray like it's loading GNOME, and then it returns me to the login screen. <Kolev>Unless there are some files I should check. What are those? <Kolev>I've seen two bug reports about this same issue. <civodul>oh, something with XDG_DATA_DIRS interfering? <rekado>compiling the sources today I get this warning: gnu/home/services/ssh.scm:203:0: warning: possibly unbound variable `serialize-match-criteria' <efraim>almost 23 hours to build opencv on riscv64-linux <rekado>the remote git repo says: warning: There are too many unreachable loose objects; run 'git prune' to remove them. <Kolev>civodul, so, how do I fix the XDG_DATA_DIRS thing? <civodul>Kolev: i don't know; do you have a link to the bug reports you found? <civodul>Kolev: as a stopgap, you can "guix remove" packages that cause XDG_DATA_DIRS to be defined (check "guix package --search-paths") <civodul>a better solution might be to not source ~/.guix-profile/etc/profile until after login <Kolev>civodul, I removed all the packages in my Guix profile. <civodul>then i suppose XDG_DATA_DIRS is no longer defined, is it? <Kolev>civodul, hm. Still defined with Guix stuff in it. <Kolev>Oh, looks like I still have some stuff installed. <Kolev>Removed all Guix-installed software. Login works now. But this means I cannot use Guix. <janneke>i haven't followed the discussion closely, but it sounds like "someone" needs to bisect which guix package breaks your login, and then find out why/how? <janneke>what's the story with harfbuzz, and harfbuzz-5 inheriting from it duplicating its source? <janneke>(define-public harfbuzz-5 harfbuzz) seems identical to me? <civodul>am i right that tex-team was merged? neat! <podiki[m]>any pandoc users here? the backedn wkhtmltopdf...do we have that? it uses webkit I believe but don't see it in a webkit package or as a separate package <stevenroose>Currently I think my "home profile" broke. So I'm not even sure what to do as last resort measure. I thought, I can backup my home dir (it's a separate partition anyway) and just reinstall the OS from my configuration. <stevenroose>But if it's the home profile that is broken.. How would that help.. <stevenroose>Is there a way to remove/recover/fix a home profile? <spacecadet[m]>stevenroose: Not sure the BEST way to fix this, but your profile generations are stored in /var/guix/profiles/per-user/, the same way system generations are saved, you should be able to roll-back to a previous one <stevenroose>spacecadet[m]: also, why do I have two of them? Is that default behavior? <stevenroose>in /var/guix/profiles/per-user/steven there is guix-profile and derivatives and current-guix and derivatives. <stevenroose>Oh I didn't see guix package had --roll-back (instead of a roll-back command like guix system and guix home) <spacecadet[m]>There are differences between current-guix and guix-profile, some web searching will give you a better explanation than I can summarize here. Glad you found a fix, the manual always has a lot of information for situations like this. <pistrie>goodday everyone. I'm trying to install spice-vdagent as a guest, but after enabling the service and reconfiguring I get this warning: "warning: 'spice-vdagent-service' is deprecated. use 'Start the @command{vdagentd} and @command{vdagent] daemons from @var{spice-vdagent} to enable guest window resizing and clipboard sharing.' instead" <sneek>Welcome back pistrie, you have 1 message! <sneek>pistrie, pkill9_ says: you can also use (specification->package "package name"), then you don't need to import modules as you aren't using the package variables <pistrie>im pretty sure that message is a bug, but still <attila_lendvai>the #:log-file of fork+exec-command does not save stderr, only stdout. is there some fundamental obstacle, or is this merely an omission? <attila_lendvai>AFAIU, shepherd should be refactored to use spawn here. maybe it's a good opportunity to deal with this problem? <attila_lendvai>also, it'd be nice if what currently is a logging facility could be abstracted to receive a fiber that gulps the stdio, so that services can provide their own fibers to implement more complex communication with the daemon. maybe. <janneke>sneek: later tell civodul: i found something interesting, many of guile-2.0.14's thread tests that do (thread-join ..) seem to hang. i'm not sure that they used to pass, guile-2.0.14's package description suggests there wase a time where they passed. <janneke>ACTION produces many weird typos these days, right sneek? <johnabs[m]>Hey guys, I'm having a locale issue apparently with both libreoffice and julia, would anyone happen to have any ideas on how to address this? P.S. I figured out my xmonad build issue :3 <johnabs[m]>Sorry, to clarify, here's the exact issue: (soffice:22905): Gtk-WARNING **: 14:28:07.284: Locale not supported by C library. <johnabs[m]>/gnu/store/y83kzjgbahphv8h7ybf7pqhyrf37mlbf-libreoffice-7.5.1.2/lib/libreoffice/program/soffice.bin: symbol lookup error: /gnu/store/5h2w4qi9hk1qzzgi1w83220ydslinr4s-glibc-2.33/lib/libpthread.so.0: undefined symbol: __libc_pthread_init, version GLIBC_PRIVATE <mirai>attila_lendvai: interesting, there's a few parameters in fork+exec & friends that aren't documented in the manual <mirai>attila_lendvai: fork+exec uses exec-command and the docstring says: … File descriptors 1 and 2 are kept as is or redirected to <mirai>either LOG-PORT or LOG-FILE if it's true, whereas file descriptor 0 (standard input) points to INPUT-PORT or /dev/null. <Kolev>I cant log in. I had to remove all Guix programs to be able to log in again. <reed55>Hi All, I'm trying to wrap my mind around guix configuration. I'm having trouble understanding "guix home". If I have (packages (specifications->packages (list "htop" "vim"))) in configuration.scm and then run "guix home container configuration.scm" I am able to use htop and vim in the containerized preview. However, if I run "guix home <reed55>reconfigure configuration.scm" the commands aren't available. I see them in .guix-home/profile/bin but it seems that .guix-home/profile/bin wasn't added to my path <lilyp>reed55: is this your first time running guix home? if so, it's not expected that the paths are already set up IIRC <lilyp>you can set up things manually, but you shouldn't need to do so on your next reboot <reed55>I see. So if I reboot, the paths should all be set up? <reed55>I will give that a try and report back. Thanks! <attila_lendvai>mirai, someone told me that Guile's SPAWN was specifically added to abstract away all the woodoo that is needed to deal with signal handlers and whatnot on various platforms. <mirai>at first sight, exec-command seems to account for both stdout and stderr <mirai>unrelated to the above, is there a way to explicitly unregister a non-transient shepherd service <attila_lendvai>mirai, indeed, stderr should also be included. thanks for pointing me to exec-command!