From 3f7f06ce5fc2ec1b4df84cf3f76a0fcab96739ea Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 17 Nov 2026 21:40:28 +0100 Subject: solve warnings --- flake.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/flake.nix b/flake.nix index 2252757..2ab7006 100644 --- a/flake.nix +++ b/flake.nix @@ -15,10 +15,11 @@ # * glib-networking in buildInputs (GIO gnutls TLS for WebKitGTK) # * LUMO_URL = https://lumo.proton.me at build time # -# OVERLAY NOTE: overlays.default must be TOP-LEVEL, not inside -# eachDefaultSystem (flake-utils would namespace it to -# overlays..default and consumers wouldn't find it). It maps -# the consumer's system via final.system, not a hardcoded one. +# NOTES: +# * overlays.default is TOP-LEVEL (not inside eachDefaultSystem). +# * Overlay resolves the package via +# final.stdenv.hostPlatform.system — `final.system` (like +# `pkgs.system`) is deprecated and triggers an eval warning. { description = "Lumo Desktop, Proton's privacy-first AI assistant (Tauri)"; @@ -164,10 +165,9 @@ # ------------------------------------------------------------ overlays.default = final: _prev: { - # Map the CONSUMER's system, not ours; falls back to their - # x86_64-linux build only if their system is exotic. + # Consumer's system via the non-deprecated accessor. lumo-desktop = - self.packages.${final.system}.lumo-desktop + self.packages.${final.stdenv.hostPlatform.system}.lumo-desktop or self.packages.x86_64-linux.lumo-desktop; }; -- cgit v1.2.3-70-g09d2