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/dotfiles.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/home/dotfiles.nix') diff --git a/modules/home/dotfiles.nix b/modules/home/dotfiles.nix index 21afb5e..c45c996 100644 --- a/modules/home/dotfiles.nix +++ b/modules/home/dotfiles.nix @@ -7,8 +7,8 @@ let # platform. Kept minimal and overridable via excludePackages rather than # a full per-platform mapping - see design.md for alternatives considered. platformDefaultExcludes = - lib.optionals (!pkgs.stdenv.isDarwin) [ "iterm2" ] - ++ lib.optionals (!pkgs.stdenv.isLinux) [ "herbstluftwm" "xorg" ]; + lib.optionals (!pkgs.stdenv.hostPlatform.isDarwin) [ "iterm2" ] + ++ lib.optionals (!pkgs.stdenv.hostPlatform.isLinux) [ "herbstluftwm" "xorg" ]; excludePackages = platformDefaultExcludes ++ cfg.excludePackages; in -- cgit v1.3