mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-29 09:42:33 +01:00
chore(nixos): guard the nix and xdg-desktop-portal-wlr pins at eval time
WA-023 warns once nixVersions.stable reaches 2.35; WA-046 fails the build once nixpkgs' xdg-desktop-portal-wlr is no longer the broken 0.8.4, so both pins get revisited instead of lingering. Assisted-by: Claude Code (claude-opus-5-5)
This commit is contained in:
1 parent
eaa53004e5
commit
3789a2a282
3 files changed
+9
-2
No files matched your search
@@ -4,6 +4,7 @@
|
||||
# the latest released version until stable catches up.
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/tools/package-management/nix/default.nix
|
||||
nix.package = pkgs.nixVersions.latest;
|
||||
warnings = lib.optional (lib.versionAtLeast pkgs.nixVersions.stable.version "2.35") "nixVersions.stable is 2.35+: drop the nixVersions.latest override (WA-023)";
|
||||
|
||||
# https://lix.systems/add-to-config/
|
||||
# nix.package = pkgs.lix;
|
||||
|
||||
@@ -62,6 +62,12 @@
|
||||
pkgs-stable.xdg-desktop-portal-wlr
|
||||
];
|
||||
};
|
||||
assertions = [
|
||||
{
|
||||
assertion = pkgs.xdg-desktop-portal-wlr.version == "0.8.4";
|
||||
message = "nixpkgs moved xdg-desktop-portal-wlr past 0.8.4: retest Zoom with it and drop the 0.8.2 pin (WA-046)";
|
||||
}
|
||||
];
|
||||
|
||||
# The xdg-autostart-generator starts every autostart app (including nixpak
|
||||
# sandboxes like firefox/telegram) right at graphical-session.target, while
|
||||
|
||||
Reference in new issue
Block a user