From db86c80a9931074c574c88a0a7ea5339c06b34f5 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Mon, 21 Sep 2026 12:27:01 +0200 Subject: Fix Nix evaluation deprecation warnings Replace deprecated pkgs.stdenv.isDarwin/isLinux with pkgs.stdenv.hostPlatform.isDarwin/.isLinux, and explicitly pin programs.neovim.withRuby/withPython3 = true so the legacy default doesn't silently change if home.stateVersion is ever bumped. Pure deprecation fixes, no behavior change. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn --- modules/home/editor.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/home/editor.nix') diff --git a/modules/home/editor.nix b/modules/home/editor.nix index 413ca8f..792d878 100644 --- a/modules/home/editor.nix +++ b/modules/home/editor.nix @@ -9,6 +9,10 @@ # in separately. Without this, home-manager's own generated init.lua # permanently conflicts with that stow package and it gets skipped. sideloadInitLua = true; + # Pin the legacy (stateVersion < 26.05) provider defaults explicitly so + # this doesn't silently change if stateVersion is ever bumped. + withRuby = true; + withPython3 = true; }; # tree-sitter (parser compilation) and a C compiler for natively-built -- cgit v1.3