diff options
| author | 2026-09-21 12:27:01 +0200 | |
|---|---|---|
| committer | 2026-09-21 12:27:01 +0200 | |
| commit | db86c80a9931074c574c88a0a7ea5339c06b34f5 (patch) | |
| tree | bcc1496ca6b41b08f395df248230276e50dfb37b /modules/home/editor.nix | |
| parent | f8e84b1e18d39632ead22b7c45fe4e97691bed29 (diff) | |
| download | desktop-flake-db86c80a9931074c574c88a0a7ea5339c06b34f5.tar.gz desktop-flake-db86c80a9931074c574c88a0a7ea5339c06b34f5.tar.bz2 desktop-flake-db86c80a9931074c574c88a0a7ea5339c06b34f5.zip | |
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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn
Diffstat (limited to 'modules/home/editor.nix')
| -rw-r--r-- | modules/home/editor.nix | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ | |||
| 9 | # in separately. Without this, home-manager's own generated init.lua | 9 | # in separately. Without this, home-manager's own generated init.lua |
| 10 | # permanently conflicts with that stow package and it gets skipped. | 10 | # permanently conflicts with that stow package and it gets skipped. |
| 11 | sideloadInitLua = true; | 11 | sideloadInitLua = true; |
| 12 | # Pin the legacy (stateVersion < 26.05) provider defaults explicitly so | ||
| 13 | # this doesn't silently change if stateVersion is ever bumped. | ||
| 14 | withRuby = true; | ||
| 15 | withPython3 = true; | ||
| 12 | }; | 16 | }; |
| 13 | 17 | ||
| 14 | # tree-sitter (parser compilation) and a C compiler for natively-built | 18 | # tree-sitter (parser compilation) and a C compiler for natively-built |
