diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-11-17 21:40:28 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2026-11-17 21:40:28 +0100 |
| commit | 3f7f06ce5fc2ec1b4df84cf3f76a0fcab96739ea (patch) | |
| tree | a7468773c47b78a9b0a4a3d8720e93315073bca6 | |
| parent | ea3db6f10b20d36bc496022e07a724b0b952b9b5 (diff) | |
| -rw-r--r-- | flake.nix | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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; }; |