summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-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;
};