IRC channel logs

2024-07-25.log

back to list of logs

<RavenJoad>Gooberpatrol66: You don't _need_ a channel. How did it not work?
<Gooberpatrol66>i did GUILE_LOAD_PATH=~/configs, then in a file i put (use-module (path to config))
<Gooberpatrol66>says "no code for module (path to config)"
<Gooberpatrol66>oh i forgot to do define-module
<RavenJoad>Also make sure that if the config has (define-module (path to config)) that the file actually exist somewhere in GUILE_LOAD_PATH/path/to/config.scm.
<spanko>why is it that `flags` in the `file-systems` aren't added to the corresponding `fstab` entries?
<spanko>```lisp
<spanko>(file-system
<spanko> (device "/dev/disk/storage")
<spanko> (mount-point "/home/user/storage")
<spanko> (flags '(no-atime))
<spanko>```
<spanko>for example using this filesystem entry, the corresponding fstab entry will be
<spanko>```
<spanko>/dev/disk/storage /home/user/storage ext4 defaults
<spanko>```
<spanko>```
<spanko>/dev/disk/storage /home/user/storage ext4 defaults
<spanko>```
<spanko>instead of
<spanko>```
<spanko>/dev/disk/storage /home/user/storage ext4 defaults,noatime
<spanko>```
<nikolar>You don't need the ``` around the code
<freakingpenguin>spanko: Relevant code is in (gnu services base), file-system->fstab-entry. It's been a while since I looked in the code but IIRC guix mounts the file-systems in guile so fstab just makes manual mount invocations easier.
<freakingpenguin>I don't remember for sure though, don't take that as gospel.
<freakingpenguin>Not sure if there's a limitation flags aren't put in fstab like options are.
<nikolar>Even if it's only for manual mounting, the options should match
<freakingpenguin>It looks like options are put in fstab but flags are not.
<spanko>freakingpenguin, after testing, Guile mounts the filesystems with the correct flags indeed
<freakingpenguin>If I have a package with a #:test? #f argument, what's the easiest way to inherit from it while setting that to #t?
<D2w05>I'm not on Guix right now, but I think you can use inherit/package and substitute-package-arguments.
<anadon>I wish there was tooling to more quickly determine which python modules need to be updated or packaged if I want to get a particular package available in the first place.
<trevdev>Anybody just up and lose sound recently or is it just me?
<sturm>are there any tricks for getting home-ssh-agent-service-type working? It doesn't seem to be using the agent - I keep getting a passphrase prompt. This is on Sway window manager
<iyzsong>sturm: I may have the same issue too, which I workaround it by 'source ~/.bash' then 'sway', as I launch sway from the console not a login manager.
<sturm>thanks iyzsong - are you setting any SSH agent related environment variables in .bashrc?
<iyzsong>yes, my '.bashrc' was generated by the home service, which have 'export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)'
<iyzsong>okay, add 'source ~/.bashrc' to my '~/.bash_profile' to the issue for me..
<sturm>thanks iank
<sturm>oops iyzsong
<iyzsong>yw :)
<sturm>iyzsong: do you happen to publish your dotfiles?
<iyzsong>sturm: https://git.envs.net/iyzsong/guixrc/src/branch/master/home.scm , well i just found that i didn't setup a ssh agent by 'home' but manually in my ~/.bashrc file..
<iyzsong>I have 'gpg-connect-agent /bye' and then 'export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)' in my ~/.bashrc.
<sturm>thanks iyzsong!
<adi-lb-phoenix>So in my guix installation script , I am trying to clone a repository https://paste.debian.net/1324302/ but it fails throwing the following error. Any suggestions on how can I solve this problem.
<rekado>this looks like it's stuck: https://ci.guix.gnu.org/build/4671297/details
<rekado>does anyone here have a current cert to restart it?
<rekado>(mine expired last week)
<civodul>hey rekado!
<rekado>hi civodul!
<civodul>it’s not really stuck, it’s just that it takes time
<civodul>(a lot of it)
<rekado>oh...
<civodul>until recently, the Arm machines were performing mostly armhf-linux builds
<civodul>for ‘master’
<rekado>I see.
<civodul>i ended up canceling the remaining ones yesterday
<rekado>in the morning I was able to restart a few java-* builds that had been marked as failed on x86_64
<rekado>they had been running for only a few seconds before being marked as failed.
<civodul>what did their log contain?
<rekado>truncated
<civodul>uh
<civodul>built recently?
<rekado>output from the JDK build, it seemed
<rekado>yes
<civodul>bah
<civodul>ok
<rekado>I thought this class of problems had been fixed recently
<rekado>¯\_(ツ)_/¯
<civodul>i don’t remember seeing this over the past couple of weeks
<civodul>i thought it was either fixed or related to hard restarts
<civodul>maybe next time you find you, send me the link
<civodul>BTW, the ppc/arm workers are sometimes idle
<civodul>this is because they’re asked to build .drv that have disappeared
<civodul>they keep trying to get the .drv for ~30mn
<civodul>before finally giving up
<civodul>this will have to be improved :-)
<civodul>(although that only happens because we’re in “recovery” phase)
<hackyhacker>hello I have an old laptop that I put guix on about a year ago I think. When I try 'guix pull' it complains with 'Git error: the SSL certificate is invalid.'. I looked in the info manual and followed the instructions from the 'X.509 Certificates' section but the instructions don't help.
<hackyhacker>Anyone have an idea how I could solve this?
<hackyhacker>Ah I've had this problem before I think. I think it had to do with the time ... maybe?
<hackyhacker>I figured it out. I needed to set the time of my laptop again.
<simendsjo>I'm trying to use `guix shell --pure`, but how can I make it set some environment variable? I see %standard-phases has an install-locate step, but I want the environment variable to be set in the resulting shell.
<simendsjo>.. the reason to set the LANG is to get java to correctly interpret filenames as utf-8.
<iv1s3>im using gdm and i changed the comment section of my user in the config.scm file. But gdm still shows the old comment.
<iv1s3>when i made a user account using (users (cons (user-account (name "ashly") (comment "old comment") ... %base-user-accounts)) and then after i modified the comment part to (comment "new comment") GDM still shows "old-comment". How to get the "new comment" to display in gdm
<spiderbit>Hi I have some packages in a guix home config file loaded with (home-environment ( packages...))
<spiderbit>can I somehow load them conditional if the package is not installed in the system config already?
<futurile>simendsjo: use --preserve e.g. --preserve='^TERM$'
<simendsjo>futurile: Thanks, but I want it to be deterministic and not dependent on the host environment. I want to set it to no_NB.utf8 even if my locale is en_US.utf8
<futurile>simendsjo: guix shell (AFAIK) doesn't have a native way to provide env variables - so I guess you'd have to wrap it in a script
<civodul>uh ‘kernel-updates’ and ‘master’ are taking our precious aarch64 build resources now
<jamincollins>I've tried booting the current stable ISO on a Lenovo P1 Gen1, after the initial boot menu selection the screen simply flashes what appears to be some sort of error message. The message flashes too quickly to read.
<Deltafire>try videoing it on your phone, maybe using the slow motion setting
<simendsjo>futurile: ok, thanks. I also notice the `-- COMMAND` doesn't work with guix.scm, but requires PACKAGES.
<dgr>hi I try to replicate the installers info on tty2 but get the error: guix system: error: service 'term-tty2' provided more than once
<weary-traveler>is there an example for a package definition that simply has a few scripts that need to be added to the store with the interpreter references (e.g. bash, python) replaced by the store path
<weary-traveler>ah copy-build-system
<simeon>Hey, I am experiencing some issues with icecat from the guix
<simeon>channel. When I start it, it seems to hang with no start screen
<simeon>loading. The log in the terminal says libva-drm.so.2 is missing. Is
<simeon>there a way to do a clean install of icecat (redownloading it instead
<simeon>of using the derivation present in the store)?
<lfam>simeon: On Guix, "clean installs" aren't a thing. Either the package works or it is broken, but it won't ever be half-installed
<lfam>I would try `guix pull && guix upgrade icecat` to check if the package has been fixed
<jackhill>there is `guix gc --verify=contents` :)
<dariqq>simeon: you could also try 'guix build --repair icecat'
<jackhill>is libva for hardware accelerated video decoding though? Could that be optional and a misnomer?
<jackhill>is this your first time trying to run icecat? For a "clean" experience you could try moving it's files in your home directory out of the way in case there is something in its profile that's causing problems.
<lfam>I agree that the libva error could be a red herring. Who knows
<madage>libva-drm is not the culprit, I also get this warning on the terminal, but the browser works fine
<simeon>madage: Do you also get a bunch of JavaScript errors? I get a lot of 'this.selectedBrowser is undefined'...
<simeon>Could it help to just delete ~/.mozilla/icecat?
<lfam>Safer to just move it simeon. In case you want to use it again
<madage>simeon: not that I remember, I'll try again in a sec and report back
<simeon>Moving/deleting ~/.mozilla/icecat fixed the issue for me, however my profile is gone.
<ieure>Right, because something in your profile caused the issue.
<ieure>And the profile exists on disk in that directory.
<simeon>Thanks for the help :)
<lfam>It's a reason I make sure to include ~/.mozilla in my backups. Sometimes the profile gets corrupted and at least I can use yesterday's copy of it rather than starting fresh
<simeon>lfam: Good idea, also gonna add it to my backup from now on.
<lfam>I'm one of these crazy people with hundreds of tabs open :)
<cancername>not alone with that one though
<ieure>I do not like tabbed UIs and rarely use them. I have Librewolf user chrome which hides the tab bar when there's only one tab open, and I'm glad to have the vertical space back.
<ieure>They're a terrible, half-ass implementation of an idea that's not that great to begin with.
<lfam>I use tree-style-tabs which is visually easier to deal with
<ieure>I need to finish writing my anti-tab manifesto.
<ieure>tl;dr is that OS/DE development has stagnated, so what *should* be an essential function built into every GUI system has to get reimplemented N times over in applications.
<ieure>You should be able to have windows with heterogenuous tabs -- a window with a web page in one tab, a terminal in another tab, a chat in a third.
<ieure>But you can't, because it's a bad solution implemented at the wrong level and HCI development has been stagnant for decades.
<lfam>Yeah, I agree it's pretty bad these days
<freakingpenguin>HCI = human computer interface?
<ieure>Yes.
<lfam>Although I'd argue that smartphones are where the development is happening
<lfam>Or perhaps, has happeneed
<lfam>And the "OS" is moving into the browser, which many workers never leave
<theesm>good evening folks
<ekaitz>stupid question! which package has `ldd`?
<theesm>lfam, I'll send in patches for the recent four 6.x kernel updates in a few minutes; let's hope the deblob scripts for 6.10.1 use a different comment-format (as that was iirc the reason 6.10 broke, right?) so we'll be able to have a building 6.10.x series kernel.
<theesm>ekaitz, guix locate says gcc-toolchain for ldd on my system
<ekaitz>oh! guix locate? is this command new?
<ekaitz>theesm: thank you!
<theesm>iirc it's been introduced somewhat a year ago or so (could be wrong about that); even though it only works to locate things from locally available packages (so it doesn't show you which package to install if you want a specific binary or file and you don't already have the package locally)
<ekaitz>oh! i didn't know! thank you!
<ieure>ekaitz, glibc
<ekaitz>ieure: thanks!
<ekaitz>i have a clang based project that compiles but cannot find libstdc++.so.6
<ekaitz>if I'm not mistaken that comes from gcc
<ekaitz>hmmm should the binary try to use that? do i have to add gcc as an input?
<ieure>Hmm, I guess?
<ieure>I'd expect that to be one of the implicit deps from the build-system.
<ekaitz>yeah but it's not part of the LIBRARY_PATH or anything
<ekaitz>weird
<lfam>Does anyone know how to tell Konversation (the KDE IRC client) where to find fonts?
<lfam>Like, maybe there's an editable config file for KDE-world applications?
<bavier>hello guix
<ello>ACTION waves
<theesm>does anyone know how guix creates the udev rules so that /dev/dri card* files are owned by root:video instead of root:root? can't remember that I had to configure this on my other systems, so I suspect a udev rule is lacking on my new setup and I should see how to manually debug this
<madage>ekaitz: see make-lld-wrapper and lld-as-ld-wrapper-15 on llvm.scm
<madage>replacing ld with lld solved a similar issue for me when compiling with clang