Deferring evaluation of a get-secret procedure so -L doesn't evaluate it unless needed for build

2024-01-04 Thread Richard Sent
Hi Guix! Until recently I reconfigured my home & system by setting the GUILE_LOAD_PATH env var, but I am now trying to transition to using the -L argument. I have a configuration repo that's broken down into separate modules, (mostly) like so: --8<---cut here---star

catch2-3.5.1.drv fails to build with home reconfigure, but succeeds with build

2024-01-10 Thread Richard Sent
When reconfiguring my home environment, y8sll1zarpy78qi6fgrz9xrpx99hhn3b-catch2-3.5.1.drv fails to build. I can run $ guix build catch2@3.5.1 just fine, but the derivation has a different checksum from when I'm building with home reconfigure (2bdvrgwwbrgzxlpckmzsgwrakf8j6yic-catch2-3.5.1.drv).

Re: catch2-3.5.1.drv fails to build with home reconfigure, but succeeds with build

2024-01-10 Thread Richard Sent
On 2024-01-10 18:35, Richard Sent wrote: When reconfiguring my home environment, y8sll1zarpy78qi6fgrz9xrpx99hhn3b-catch2-3.5.1.drv fails to build. I can run $ guix build catch2@3.5.1 just fine, but the derivation has a different checksum from when I'm building with home reconf

Re: guix.scm and manifest.scm environment

2024-01-10 Thread Richard Sent
ges) module is in scope, so we have specifications->manifest. I definitely wouldn't rely on this behavior, but that's my understanding of it. Didn't notice any documentation. Richard Sent

Re: Guix Shepherd Service Help

2024-01-19 Thread Richard Sent
On 2024-01-19 10:23, samuel@thewilley.family wrote: Any help would be nice, I've been smashing my head into the wall for a few days as I feel this is required for my usage of Emacs. I'm not sure why anyone would want this, but the relevant channels.scm snippet will be in the readme.md of the sa

Re: Make a simple guile script to a package - source local file

2024-01-19 Thread Richard Sent
ing -S, which to my understanding isn't POSIX but instead a coreutils extension. Pretty sure --container would work here but I've not tried it. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Using gexps in wireguard-service-type postup

2024-01-27 Thread Richard Sent
o get a bit over my head. It really feels like there should be a solution here, but I can't quite parse the vpn.scm code to figure it out. I'd appreciate any help on this! -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Using gexps in wireguard-service-type postup

2024-01-28 Thread Richard Sent
why that would be done and how I can get preshared-key set correctly. I did try changing preshared-key to (preshared-key #~,(...)), but that didn't accomplish anything besides creating a wireguard.config file with `preshared-key (unquote (string-append ...))` I assume this is because a quote (') is used instead of a quasiquote (`). Is there anything on my end I can do to fix this or does it have to be resolved in Guix proper? -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

(current-module) and gexp, fighting for pretty code

2024-02-28 Thread Richard Sent
e best of both worlds? No module name duplication and no extra variable creation? Some preexisting magical variable I can capture that refers to the module I am currently in? -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Cuirass custom jobs module syntax?

2024-03-01 Thread Richard Sent
nterface module) 'cuirass-jobs))) proc ;no store for testing, just return proc if found )) modules --8<---cut here---end--->8--- Why would (resolve-interface) work with (rsent machines

Re: Builder error on package build

2024-03-03 Thread Richard Sent
----cut here---end--->8--- i.e. DESTDIR=, not PREFIX=. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Help with channel build system and package

2024-03-08 Thread Richard Sent
(crosstool-ng-build ...) in (gexp). The package still did not build locally on my machine after removing it, but it seems to have progressed to a further stage. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: catch2-3.5.1.drv fails to build with home reconfigure, but succeeds with build

2024-03-11 Thread Richard Sent
So I was wrong and it turned out to be a mainline bug, but one that was only present on x86 32-bit. Here's the reports: https://gitlab.com/nonguix/nonguix/-/issues/307 https://issues.guix.gnu.org/68429 https://github.com/catchorg/Catch2/issues/2796 -- Take it easy, Richard Sent Maki

Re: add shepherd requirement to an existing service?

2024-03-14 Thread Richard Sent
--->8--- This code might not be it exactly, but something similar to this /should/ work. [1] https://git.sr.ht/~freakingpenguin/rsent/tree/master/item/channel/rsent/utils/services.scm -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: hurd-vm-service-type into /etc/config.scm

2024-03-16 Thread Richard Sent
ts. %desktop-services is a list, but bluetooth service and hurd-vm service are not. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Replication question

2024-04-16 Thread Richard Sent
bably could modify B and C to replace A with A@old though. As you saw, A@old doesn't have any fancy logic for "go back to the most recent Guix commit that has A@old". It's just a convenient way to specify which version of package A to install when multiple are packaged. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Validating an entire record-type* at value creation

2024-05-05 Thread Richard Sent
mount-at-boot? is set dependencies is ignored. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Cuirass: Could not find repository

2024-05-09 Thread Richard Sent
op). And yet %gnome-desktop-services unconditionally deletes it. https://github.com/asahi-guix/channel/blob/main/src/asahi/guix/system/desktop.scm Perhaps that's relevant, perhaps it's not. I could see it potentially causing odd behavior, although I can't see how it connects to the error you observed. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

How does system-disk-image work with embedded-style boot loaders?

2024-05-11 Thread Richard Sent
e image type. (Likely not coincidentally 8,388,608 / 8 = 1,048,576. I don't know what to make of this because it feels weird that bytes are used in one situation while another uses bits.) Appreciate any clarification on this! -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: How does system-disk-image work with embedded-style boot loaders?

2024-05-11 Thread Richard Sent
me?), having genimage be in charge of copying both the partition images AND the bootloader file would presumably catch that error. At least, I assume genimage performs those kinds of sanity checks. I may very well be missing something here, particularly with interpreting the fdisk output. Sorry i

Re: Pytorch Versions

2024-05-13 Thread Richard Sent
aise-exception: error: python-pytorch2: unbound variable Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. --8<---cut here---end--->8--- If this didn't make sense, don't worry. I barely followed what I said and I very easily might have said something wrong. Generally speaking use $ guix repl if you want to ensure you're loading the same modules as $ guix describe. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: How does system-disk-image work with embedded-style boot loaders?

2024-05-19 Thread Richard Sent
Richard Sent writes: > > Running fdisk on the image produces (emulated build due to > cross-compilation failures): > > gibraltar :( guix$ fdisk -l $(guix system image > gnu/system/images/pinebook-pro.scm --system=aarch64-linux) > Disk > /gnu/store/832w3d7dh2vdfdm2qdv50

System image boots but fails to start essential shepherd services

2024-05-23 Thread Richard Sent
sh-daemon avahi-daemon ntpd NetworkManager xorg-server wpa-supplicant upower-daemon pam term-console elogind dbus-system nscd syslogd console-font-tty6 console-fon [ 46.107629] t-tty5 console-font-tty4 console-font-tty3 console-font-tty2 console-font-tty1. --8

Re: System image boots but fails to start essential shepherd services

2024-05-23 Thread Richard Sent
target system. The issue is recorded at https://issues.guix.gnu.org/61986. IMO, a pseudo-bricked generation is a hefty price to pay for an oversight like this! :) -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Automated /etc/config.scm

2024-05-26 Thread Richard Sent
tree/1b79ec8a91a9546d4cc158590b1d50145e5fe42a/item/rsent/configs/channel.scm#L13 -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Automated /etc/config.scm

2024-05-27 Thread Richard Sent
was a bit more creative with my channel before going "well it's my channel so... my name is fine". :) -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Installation issue on FrameWork laptop.

2024-06-02 Thread Richard Sent
27; > failed > Command ("guix" "system" "init" "--fallback"" "/mnt/etc/config.scm" "/mnt") > exited with value 1 Can you post the output of the build log mentioned in those messages? I assume the ... was added by you and the full path was printed, but if not you should be able to get the path via $ guix build --log-file slock. > View build log at '/var/log/guix/drvs/bw/...tar.gz.drv.gz'. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Come speak at the Guix Social meetup

2024-06-07 Thread Richard Sent
Hope it happens and I can make it. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Installing cross-compiled packages alongside a cross-compile toolchain

2024-06-07 Thread Richard Sent
ontent to deserve its own section.) The closest I can think of is wrapping your Guix software as a package and using --target, but this is often too much of a barrier to entry when all you want is a simple development environment. Anything making cross-compilation easier is a good thing in my eyes. [1]: https://guix.gnu.org/en/cookbook/en/guix-cookbook.html#Build-Manifest -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Guix system image record with a large root partition

2024-06-12 Thread Richard Sent
g a look at? -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Richard Sent
se is to blame? Thanks. [1]: https://git.sr.ht/~freakingpenguin/rsent/tree/edde39fbb0585db243ac5369548867bbdc765fe8/item/rsent/system/digitalocean.scm [2]: https://unix.stackexchange.com/a/333610 -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Richard Sent
--->8--- # Assign this interface an IP address only. # (This disables setting the gateway router, DNS, domain, etc.) interface \"eth1\" { request subnet-mask, broadcast-address, interface-mtu; } --8<---cut here---end--->8--- [1]: https://

Re: dhcp-client default gateway with multiple interfaces, race condition?

2024-06-14 Thread Richard Sent
t we should consider deprecating it, particularly if issues like what I encountered become more common. (I also think any replacement should probably avoid being called "dhcp-client". Most other services don't name themselves according to their role, but the software.) -- Take it ea

Re: Why rust-hyprland and rust-hyprland-macros but not HyprLand?

2024-06-29 Thread Richard Sent
rust-hyprland is a cargo-input to rust-xremap. I'm sure a patch adding hyprland would be appreciated. :) -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: A Guix Home service to group together various email services

2024-07-01 Thread Richard Sent
ig, although usually at a smaller scale (not for any particular reason, just how it works out). I think this is a good idea because your service is contained to one logical unit—email—and there's likely no reason you'd want to only include just one of the extensions in an environment. [1]:

Re: Why are custom channels not available to guix repl?

2024-07-12 Thread Richard Sent
me memoization that's beyond my understanding so I don't know what else needs to be done [1]. [1]: https://issues.guix.gnu.org/61343#12 -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: guix pull/guix upgrade often fails over VPN with TLS error message

2024-09-04 Thread Richard Sent
ng > into this state. Perhaps something to do with the TLS libs. I missed this email earlier, but FYI your issue sounds similar to https://issues.guix.gnu.org/71238. A root cause hasn't been identified there either. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: ABI mismatch on boot on arm32 system

2024-10-16 Thread Richard Sent
e case. If you confirm this is in fact the problem, feel free to leave a comment on the issue! Best of luck. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Using timer-trigger-action in Guix shepherd timer services

2025-01-11 Thread Richard Sent
vices with timers in GNU Guix? Thanks! :) [1]: https://git.sr.ht/~freakingpenguin/rsent/tree/master/item/rsent/services/btrfs.scm -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Smarter way to garbage collect inferiors?

2025-01-22 Thread Richard Sent
g the least-recently used). If not, perhaps a guix gc --delete-inferiors could be added so users are more likely to realize those little buggers exist. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: guix pull seg faults. how to "reset" guix profile

2025-01-22 Thread Richard Sent
es that don't exist while building it. Spooky stuff I absolutely can't replicate, but your solution did the trick. I've been procrastinating on solving that little hiccup for a while. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: Extending home-gpg-agent-service-type from a service-type doesn't do anything?

2025-01-15 Thread Richard Sent
There is a "soft convention" around using #t as the extension value, but I'm not sure if it's universally followed. Per feedback on the patch I'll see about resubmitting with a warning instead of an error which should make this situation more obvious. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.

Re: gpg-agent Home Service not launching

2025-01-15 Thread Richard Sent
t; setup? It's been a while since I set up gpg-agent. Home shepherd places logs in $HOME/.local/state/log/shepherd.log, perhaps you'll find some useful information there. If it's any help here's my configuration with a working gpg-agent used for both ssh and gnupg. https://gi

Shepherd stuck waiting for process termination during shutdown

2025-02-17 Thread Richard Sent
How should I go about troubleshooting this when it only occurs once my ability to interact with the system is limited to "take screenshots and transcribe"? :) [1]: https://git.sr.ht/~freakingpenguin/rsent/tree/master/item/rsent/system/lan.scm#L235 -- Take it easy, Richard Sent Making my computer weirder one commit at a time.