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
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).
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
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
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
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.
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.
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.
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.
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
----cut here---end--->8---
i.e. DESTDIR=, not PREFIX=.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
(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.
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
--->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.
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.
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.
mount-at-boot? is set
dependencies is ignored.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
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.
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.
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
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.
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
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
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.
tree/1b79ec8a91a9546d4cc158590b1d50145e5fe42a/item/rsent/configs/channel.scm#L13
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
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.
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.
Hope it happens and I can
make it.
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
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.
g a look at?
--
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.
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.
--->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://
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
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.
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]:
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.
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.
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.
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.
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.
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.
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.
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
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.
44 matches
Mail list logo