From 89abe5ba46357163de642b53a649ae8415230e3d Mon Sep 17 00:00:00 2001 From: Josh Tilles Date: Tue, 4 Nov 2025 17:31:53 -0500 Subject: [PATCH] Adapt to a vim pkg rename/replacement in Nixpkgs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Addresses an error like the following: ```sh-session $ sudo darwin-rebuild --verbose --print-build-logs switch building the system configuration... fetching git input 'git+file:///private/etc/nix-darwin' error: … while evaluating an expression to select 'drvPath' on it at «internal»:1:552: … while evaluating strict at «internal»:1:552: (stack trace truncated; use '--show-trace' to show the full trace) error: 'vim_configurable' has been renamed to/replaced by 'vim-full' ``` See Fixes nix-darwin/nix-darwin#1622 --- modules/programs/vim.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/vim.nix b/modules/programs/vim.nix index 345532e..4b7264c 100644 --- a/modules/programs/vim.nix +++ b/modules/programs/vim.nix @@ -77,7 +77,7 @@ in config = mkIf cfg.enable { environment.systemPackages = - [ # Include vim_configurable package. + [ # Include vim-full package. cfg.package ]; @@ -92,7 +92,7 @@ in endif ''; - programs.vim.package = pkgs.vim_configurable.customize { + programs.vim.package = pkgs.vim-full.customize { name = "vim"; vimrcConfig.customRC = config.environment.etc."vimrc".text; vimrcConfig.vam = {