summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2026-11-17 21:40:28 +0100
committerNathan Reiner <nathan@nathanreiner.xyz>2026-11-17 21:40:28 +0100
commit3f7f06ce5fc2ec1b4df84cf3f76a0fcab96739ea (patch)
treea7468773c47b78a9b0a4a3d8720e93315073bca6
parentea3db6f10b20d36bc496022e07a724b0b952b9b5 (diff)
solve warningsHEADmaster
-rw-r--r--flake.nix14
1 files 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.<system>.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;
};