Commit graph

1,009,310 commits

Author SHA1 Message Date
Conor
28e00435ea sdl2-compat: fix build on musl 2026-06-02 18:37:02 +01:00
Paul Haerle
ef79cc6846
Reinstate boot counting (#447173) 2026-06-02 12:17:39 +00:00
nixpkgs-ci[bot]
e7f16efb89
roon-server: 2.66.1658 -> 2.67.1661 (#527069) 2026-06-02 12:13:47 +00:00
Martin Weinelt
e0713561a1
home-assistant-custom-components.waste_collection_schedule: 2.25.0 -> 2.26.0 (#527106) 2026-06-02 12:12:05 +00:00
R. Ryantm
9286b38f74 home-assistant-custom-components.waste_collection_schedule: 2.25.0 -> 2.26.0 2026-06-02 11:51:22 +00:00
Nick Cao
02cdda9b25
maddy: 0.8.2 -> 0.9.5 (#515244) 2026-06-02 11:39:35 +00:00
Ramses
60fe2249ec
nixos/gdm: ensure environment from display-manager.service is propagated (#523948) 2026-06-02 11:31:43 +00:00
Sizhe Zhao
c30d560af7
nixos/firewalld: add reload triggers for config file changes (#524004) 2026-06-02 11:24:42 +00:00
Fabian Affolter
ee6e043e28
nerva: 1.4.0 -> 1.4.2 (#526961) 2026-06-02 11:11:52 +00:00
Fabian Affolter
13ff0b71cd
trufflehog: 3.95.3 -> 3.95.4 (#527081) 2026-06-02 11:11:17 +00:00
winston
2b2b69cc17
nixos/gdm: ensure environment from display-manager.service is propagated 2026-06-02 13:04:20 +02:00
David McFarland
b28d3bddfe
chickenPackages.chickenEggs: update (#526363) 2026-06-02 11:00:35 +00:00
Martin Weinelt
710f990a78
silver-searcher: fix package name in throw (#527084) 2026-06-02 10:52:56 +00:00
Martin Weinelt
2edfc5c231
silver-searcher: fix package name in throw 2026-06-02 12:47:29 +02:00
nixpkgs-ci[bot]
87acd851a3
typos: 1.46.3 -> 1.47.0 (#527032) 2026-06-02 10:43:02 +00:00
nixpkgs-ci[bot]
ded4181e08
lstk: 0.9.0 -> 0.10.0 (#526856) 2026-06-02 10:42:57 +00:00
nixpkgs-ci[bot]
4fa1d86643
rsshub: 0-unstable-2026-05-23 -> 0-unstable-2026-05-31 (#526546) 2026-06-02 10:42:50 +00:00
Arian van Putten
ee568ffc62
spire: 1.15.0 -> 1.15.1 (#525637) 2026-06-02 10:34:45 +00:00
R. Ryantm
1c437aa25f trufflehog: 3.95.3 -> 3.95.4 2026-06-02 10:25:15 +00:00
Moritz Sanft
e8fd3efcfd
aflplusplus: 4.35c -> 4.40c (#527077) 2026-06-02 10:24:21 +00:00
ekzyis
87987928a0 aflplusplus: 4.35c -> 4.40c 2026-06-02 12:10:56 +02:00
Mauricio Collares
02d0193178
python3Packages.cvxopt: 1.3.2 -> 1.3.3 (#490947) 2026-06-02 10:02:38 +00:00
Mauricio Collares
e404cb3e23
lean4: update leanPackages and lean4 4.29.0/1 -> 4.30.0 (#526718) 2026-06-02 10:00:37 +00:00
Doron Behar
0930cd6dbe
python3Packages.modelscope: 1.37.0 -> 1.37.1 (#526849) 2026-06-02 09:49:33 +00:00
Markus Kowalewski
a61775778e
rdma-core: add static platforms to badPlatforms (#524621) 2026-06-02 09:42:15 +00:00
zowoq
45b7cbe624
terraform-providers.huaweicloud_huaweicloud: 1.91.0 -> 1.92.0 (#527063) 2026-06-02 09:38:47 +00:00
R. Ryantm
deed68a0ad roon-server: 2.66.1658 -> 2.67.1661 2026-06-02 09:30:06 +00:00
Vladimír Čunát
c49b175d54
gnumeric: 1.12.60 -> 1.12.61 (#526558) 2026-06-02 09:22:11 +00:00
r-vdp
9eb570f453
nixos/systemd-boot-builder: drop unused BootFile.{current,system_identifier}
Both fields are now write-only after the previous two commits, so
remove them. BootFile is back to being just a (path, writer) pair.
2026-06-02 12:20:55 +03:00
r-vdp
c38ca6ab7d
nixos/systemd-boot-builder: handle initrd-secrets failure in the writer
The CalledProcessError can only come from the append-initrd-secrets
script, so catching it in the generic write loop and then asserting
on the writer type to reach back into its `source` is the wrong
layer. Move the catch, the pristine-initrd fallback and the warning
into InitrdWithSecretsWriter itself, and pass `critical` through the
writer protocol so it can decide between aborting and falling back.

The writer carries the generation number so the warning can still
name the affected generation. write_boot_files no longer knows
anything about secrets and the isinstance assertion is gone.

Suggested-by: Will Fancher <elvishjerricco@gmail.com>
2026-06-02 12:20:55 +03:00
r-vdp
9d46e91c49
nixos/systemd-boot-builder: track critical paths separately from BootFile
Whether a write failure must be fatal is a property of the destination
path (is it needed by the configuration we are switching to?), not of
the particular BootFile instance that happened to survive
deduplication. Compute the set of critical paths up front and look it
up in write_boot_files, so the dedup loop no longer needs to pick the
"right" instance and becomes a plain order-preserving seen-set walk.

This leaves BootFile.current unused.

Suggested-by: Will Fancher <elvishjerricco@gmail.com>
2026-06-02 12:20:55 +03:00
r-vdp
dff3315fac
nixos/systemd-boot-builder: use with for the secrets temp file
This guarantees the descriptor is closed even when copyfileobj raises,
matching the other writer implementations. The append-initrd-secrets
script reopens the file by path, so flush() is enough before invoking
it and the explicit close() is no longer needed.
2026-06-02 12:20:55 +03:00
r-vdp
30552ab00b
nixos/systemd-boot-builder: clarify stale initrd secrets warning
Tell the user what actually happens (the old secrets stay in place) and
how to get rid of the warning, instead of just saying it is "normal".

Suggested-by: Will Fancher <elvishjerricco@gmail.com>
2026-06-02 12:20:54 +03:00
r-vdp
b4e756627d
nixos/systemd-boot-builder: write each ESP path only once
Shared kernels and initrds appear once per generation in boot_files, so
InitrdWithSecretsWriter rebuilt the same file repeatedly. Prefer the
current configuration's entry so its failures stay fatal.
2026-06-02 12:20:54 +03:00
r-vdp
76673e2736
nixos/systemd-boot-builder: fall back to pristine initrd when secrets fail
Otherwise the .conf for that generation references a missing initrd and
the boot entry fails to load.
2026-06-02 12:20:54 +03:00
r-vdp
3ff32972f8
nixos/systemd-boot-builder: verify content of existing entry files
A file named nixos-<hash>.conf whose content no longer hashes to <hash>
is corrupt. Skip it so GC removes it and a fresh entry is written.
2026-06-02 12:20:54 +03:00
r-vdp
820d20f8b9
nixos/systemd-boot-builder: cache boot_path()
It calls Path.resolve() and is invoked several times per generation for
the same store paths.
2026-06-02 12:20:53 +03:00
r-vdp
85d59c4f3d
nixos/systemd-boot-builder: use a set for GC root lookup
has_gc_root() iterated the entire BootFileList for every file on the
ESP, giving O(files * roots) comparisons. Build the set of kept paths
once and use O(1) membership tests instead.
2026-06-02 12:20:53 +03:00
r-vdp
146acf965f
nixos/systemd-boot-builder: warn instead of aborting when an old gen's secrets fail
After removing or renaming a file in boot.initrd.secrets, older
generations' append scripts start failing. Aborting on that blocks
deploying the new configuration, so only treat a failure as fatal when
it belongs to the configuration being switched to.
2026-06-02 12:20:53 +03:00
r-vdp
6eba7d60f3
nixos/systemd-boot-builder: rebuild secret-bearing initrds atomically each run
Appending to the existing file made it grow on every rebuild and a
failed script could leave it half-written. Always rebuild from the
pristine initrd into a temp file and rename into place.
2026-06-02 12:20:53 +03:00
r-vdp
6ef460ec9d
nixos/systemd-boot-builder: write loader.conf after the entries it points at
A crash between the two would leave `default <id>` referring to a
.conf that does not exist yet.
2026-06-02 12:20:53 +03:00
Will Fancher
44a974d0eb
nixos/systemd-boot: Rerun secrets every switch 2026-06-02 12:20:52 +03:00
Will Fancher
1d081050c3
nixos/systemd-boot: Separate finding the placement of files from writing files 2026-06-02 12:20:52 +03:00
r-vdp
b4c278c06b
nixos/systemd-boot-builder: store boot loader configs using content hashing
Co-Authored-By: AkechiShiro <14914796+AkechiShiro@users.noreply.github.com>
2026-06-02 12:20:51 +03:00
r-vdp
323ef6c123
nixos/tests/systemd-boot: use a valid machine-id
dbus-broker (now the default since #512050) calls
sd_id128_get_machine() which returns -ENOMEDIUM for an
all-zero machine-id, causing it to crash-loop and the test
to hang on multi-user.target.
2026-06-02 12:20:13 +03:00
r-vdp
69ce6b2391
nixos/systemd-boot-builder: re-instate boot counting
Co-Authored-By: Julien Malka <julien@malka.sh>
Co-Authored-By: AkechiShiro <14914796+AkechiShiro@users.noreply.github.com>
2026-06-02 12:20:12 +03:00
r-vdp
ac2410be5d
nixos/systemd-boot-builder: format 2026-06-02 12:20:12 +03:00
Johannes Kirschbauer
1a4ff1a661
docs: init styleguide (#523597) 2026-06-02 09:19:03 +00:00
Doron Behar
6bb4e3444f
monkeys-audio: 12.97 -> 13.01 (#527031) 2026-06-02 09:19:00 +00:00
R. Ryantm
2484de99b7 terraform-providers.huaweicloud_huaweicloud: 1.91.0 -> 1.92.0 2026-06-02 09:11:53 +00:00