aboutsummaryrefslogtreecommitdiffstats
path: root/openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-21 14:48:49 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-21 14:48:49 +0200
commita6e0ae7b4eb877d0c22ae84ee55d6a85618ca4c1 (patch)
tree28e7b91db546d86995904cfe51bee0e742921e91 /openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md
parente864d47eca98057890b356fc500f0cab05dc44f5 (diff)
downloaddesktop-flake-a6e0ae7b4eb877d0c22ae84ee55d6a85618ca4c1.tar.gz
desktop-flake-a6e0ae7b4eb877d0c22ae84ee55d6a85618ca4c1.tar.bz2
desktop-flake-a6e0ae7b4eb877d0c22ae84ee55d6a85618ca4c1.zip
Archive completed changes, sync editor-environment and shell-login-bootstrap specs
fix-deprecation-warnings, fix-neovim-plugin-loading, and add-bash-profile-bootstrap all had every task complete; archived all three. Synced the editor-environment and shell-login-bootstrap delta specs into main specs (fix-deprecation-warnings had no delta specs). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn
Diffstat (limited to 'openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md')
-rw-r--r--openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md b/openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md
new file mode 100644
index 0000000..0f1edb5
--- /dev/null
+++ b/openspec/changes/archive/2026-09-21-fix-deprecation-warnings/proposal.md
@@ -0,0 +1,22 @@
1## Why
2
3`nixos-rebuild`/`home-manager switch` on a real host now emits four evaluation warnings: `stdenv.isDarwin`/`stdenv.isLinux` are deprecated in favor of `stdenv.hostPlatform.isDarwin`/`.isLinux`, and `programs.neovim.withRuby`/`withPython3` warn that their default is changing and asks for an explicit value while `home.stateVersion` stays below "26.05". Left unset, these warnings will keep appearing on every activation, and the neovim providers' actual default would change out from under this flake the moment `stateVersion` is ever bumped, with no record of that being an intentional choice.
4
5## What Changes
6
7- Replace every `pkgs.stdenv.isDarwin`/`pkgs.stdenv.isLinux` usage with `pkgs.stdenv.hostPlatform.isDarwin`/`.isLinux` (`users/tom.nix`, `modules/home/dotfiles.nix`). Pure rename with identical semantics — no behavior change.
8- Explicitly set `programs.neovim.withRuby = true;` and `programs.neovim.withPython3 = true;` in `modules/home/editor.nix`, pinning today's legacy-default behavior on purpose rather than leaving it implicit and version-dependent. No behavior change.
9
10## Capabilities
11
12### New Capabilities
13(none)
14
15### Modified Capabilities
16(none — every change here preserves current externally observable behavior exactly; only the deprecated attribute names and an implicit default become explicit. `.openspec.yaml` sets `skip_specs: true` accordingly.)
17
18## Impact
19
20- Affected code: `users/tom.nix`, `modules/home/dotfiles.nix`, `modules/home/editor.nix`.
21- Affects every `homeConfigurations`/`nixosConfigurations` output built from the shared home profile, on both NixOS and Darwin.
22- Out of scope: the "Git tree is dirty" notice in the pasted warnings is expected uncommitted-changes noise from evaluating a local checkout, not a deprecation — not addressed here. Also out of scope: bumping `home.stateVersion` itself, which would pull in a much broader set of home-manager default changes beyond these two neovim options.