<nckx>BTW, we *could* put automagic in the initrd: if no resume= is specified, scan all swap-devices for hibernation images, and resume any one found. Slick, and not guaranteed not to corrupt all file systems in certain failure scenarios.
<drakonis>dont even have to mess around with symlinks, how wonderful.
<nckx>Reading backlog: Using the older-school /var/run instead of tmpfs /run could be some anti-systemd posturing, but I doubt it. I doubt a well-tested patch to use a tmpfs /run + compatibility symlink would be vigorously rejected.
<nckx>Apart from that forgotten (sorry) gem, there's no real secret sauce in there: rfkill+DPMS+full CPU speed to save a tiny bit of power during image writing; swaylock before hibernation; undo stuff on the way out.
<nckx>leoprikler: In the firmware set-up interface. F-something at boot but we have a fancy GRUB option now, too.
<nckx>Or if you mean removing the module: I literally just have a ‘zz’ bash script that does all of the above. No fancy hook system.
<leoprikler>I actually meant that as in disabling the module from guix.scm
<mekeor>hello. i'm working on a guix channel (which i might end up submitting to upstream). when i try `guix pull` (with my own guix channel added), the "build of /gnu/store/…-guix-package-cache.drv fail[s]". the error message says: (exception unbound-variable (value #f) (value "Unbound variable: ~S") (value (python-ipaddress)) (value #f)) – but i have imported (gnu packages python-xyz) where python-ipaddress is exported.
<mekeor>so do you have any other ideas what might be causing this error?
<drakonis>i was aiming to use it for containerizing single applications and entire systems
<drakonis>for aiding me with developing in distributions that aren't guix
<drakonis>this is all about being able to quickly migrate to guix
<apteryx>lfam: about wget vs guix download; newcomers wouldn't know that the later is a suitable replacement of the former; they're used to wget and wonder why it's not part of the default install (there was 2 reports of it missing on the bug tracker)
<admas>In case this is helpful to others, I figured out that my XDG init file wasn't loading because I had an .emacs file and emacs.d file that must have been auto created the first time I opened emacs.
<lfam>apteryx: I tried running the command in step #1 from your 1.3.0rc2 announcement email. Bash misinterprets the '?' characters in the wget invocation. I think the URL should be quoted
<apteryx>lfam: "only" the NEWS + blog post + announcements are left to do
<mekeor>note to future self: if you want to `git clone ssh://some-guix-system-machine:/path/to/repository`, make sure git is in your system-wide packages, otherwise you'll get an error stating: "git-upload-pack: command not found" :)
<lfam>It may be a case of GIT_EXEC_PATH not being set
<vagrantc>mekeor: to workaround that i sometimes use sshfs
<vagrantc>workaround that sort of thing ... e.g. git not installed at the remote
<karmayogi>mekeor: Thanks for the link it seems this is targeted towards Docker. I am looking for some help with LXD (https://linuxcontainers.org/). At present I am using ansible to manage LXD cluster and containers within it. I was planning to replace the whole tooling with guix, but don't know where to start.
<clacke>mekeor: I have my .bashrc check if the parent process is sshd and if it is I do things like add certain things to my PATH
<clacke>I have a ~/.ssh/bin with trampoline scripts for e.g. git-annex
<vagrantc>firstname.lastname@example.org is working on the mustang, fwiw :)
<vagrantc>it uses kvm, but disables 64-bit support so it's almost like "real" 32-bit hardware
<vagrantc>they've been performing really nicely for reproducible builds tests
<logiz>hey I'm using guix in virt-manager and trying to get multi displays over spide using video qxl. If I try a fedora iso I can get multiple displays by setting the qxl heads to 2, but for guix this doesn't seem to work. is there anything special I need to do, other than install vdagent for spice?
<bone-baboon>When I try to run `guix copy --to=<username>@<ip-address> hello` it fails with this error "guix copy: error: SSH authentication failed for <ip-address>". I have run `guix package --install guile-ssh` on both the sending and receiving computers. I have added the ssh public key of each computer to the other computers ~/.ssh/authorized_keys file. I have run `sudo herd restart ssh-daemon` on both computers. Any suggestions on
<bone-baboon>apteryx: I am able to ssh into each computer from the other but I have to enter a password. I thought adding a public key to ~/.ssh/authorized_keys allowed ssh connections without entering a password.
<apteryx>is your SSH key encrypted (password-protected?)
<apteryx>you can use 'ssh -v' to see what authentication mechanism it uses
<vivien_>bone-baboon, I think you should try setting the authorized key in the system config of your foreign box
<apteryx>vivien_: that's nicer but not a requirement
<bone-baboon>apteryx: When I created the ssh keys I did not enter a password and just pressed enter when prompted for them.
<bone-baboon>Could this be because I used `ssh-keygen -t ed25519`?
<bone-baboon>Okay so after looking more carefully at the -v output of ssh I found out that the reason it was using password authentication was because I had renamed the public and private keys. After changing them back to their default names I no longer need to enter a password to make a ssh connection.
<bone-baboon>Now when I run `guix copy --to=<username>@<ip-address> hello` I get a new guix copy error of "guix copy: error: failed to authenticate server at '<ip-address>': not-know".
<bone-baboon>I deleted the ~/.ssh/known_hosts and making a ssh connect created a nwe ~/.ssh/known_hosts.
<bone-baboon>Now when I run `guix copy --to=<username>@<ip-address> hello` I get this new error message "guix copy: error: failed to connect over SSH to daemon at '<ip-address>', socket /var/guix/daemon-socket/socket".
<raingloom>i'm still struggling with g-expressions in services, maybe someone knows the answer: how do i run a command from an ungexped package with the correct environment variables?
<raingloom>i get that derivations are supposed to have environment variable info, but i have no clue how i'd run one. i looked at some packages in the guix sources but couldn't find a good example of what i'm trying to do.
<nckx>Linux calls it hybrid sleep: it writes a hibernation image to swap, then suspends to RAM instead of entering S4/off. If you resume from RAM, the hibernation image is never used, but if your battery dies you don't lose data. It's not well-implemented but it's there.
<apteryx>civodul: if there were commits breaking the string freeze, we can simply drop them from version-1.3.0, no?
<apteryx>I'll just add these to the **Distribution section: "The Guix System demonstration VM now supports the SPICE protocol" and "The installation script can now run in a fully automated manner", if that looks OK?
<rekado>yoctocell: I tried “guix environment --pure --ad-hoc emacs -- emacs --version” with Guix on commit 8b0ae1eb72d2844d83c5da2b3393088446bc73d1, and I cannot reproduce this.
<yoctocell>rekado: I tried it on the latest commit (87b4b0e4385149b40ee87ae2d57712679452746b), I will try with an ealier one to see if it works.
<raghavgururajan>nckx: Yo! Declaring a variable in (native-search-paths) of pack-def, will make that var as env-var in shell after install right?
<yoctocell>rekado: I just tried it on commit 8b0ae1eb72d2844d83c5da2b3393088446bc73d1, and it works fine. Something must have broken it in the last few days/weeks.
<nckx>raghavgururajan: Remember/note that native-search-paths are a property of the *consumer*, not the provider! E.g. FOO_PLUGIN_DIRECTORY is a native-search-path of foo, not foo-brainfuck-plugin. If you install foo-brainfuck-plugin into a profile *without* foo, FOO_PLUGIN_DIRECTORY won't be set.
<vivien_>nckx, that’s what I experienced with XML_CATALOG_FILES, but for XML_CATALOG_FILES, I would expect different independent programs to use that variable, without this consumer / provider distinction
<nckx>Those ‘independent programs’ that use it should declare it. Unfortunately, there's currently no way for libraries like libxml2 to automatically ‘propagate’ their search-paths to every user of that library in a sane fashion. If there is a sane fashion.
<nckx>Horrible hack to that effect in intel-vaapi-driver that I'm not proud of.
<nckx>Well, ‘hacky practices defended in a comment’.
<nckx>raghavgururajan: The n-s-p works fine. As you've discovered in the meantime, REMMINA_RUNTIME_PLUGINDIR is a compile-time constant, not a supported environment variable. You'll have to add support for that yourself by patching the code and ideally getting that patch upstreamed.
<nckx>Correction: you should write a patch to support a REMMINA_PLUGIN_PATH (colon-separated list of directories), not DIR, which limits users to a single plug-in directory for no good reason.
<nckx>(Omit _RUNTIME_, environment variables are always run-time.)
<pkill9>can anyone get musescore to play instruments?
<pkill9>it can play metronome, but doesn't play the score
<vivien_>Hi, I noticed I cannot use the guile web client when SSL_CERT_DIR is set to /run/current-system/profile/etc/ssl/certs:/run/current-system/profile/etc/ssl/certs (duplicated), but I can when it is set to /run/current-system/profile/etc/ssl/certs
<vivien_>So if I happen to have nss-certs installed both globally and in my profile (or I sourced the profile too many times), the client is broken