Skip to content

Commit 89abe5b

Browse files
committed
Adapt to a vim pkg rename/replacement in Nixpkgs
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 <NixOS/nixpkgs@853d9f3> Fixes nix-darwin#1622
1 parent 6992186 commit 89abe5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/programs/vim.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ in
7777
config = mkIf cfg.enable {
7878

7979
environment.systemPackages =
80-
[ # Include vim_configurable package.
80+
[ # Include vim-full package.
8181
cfg.package
8282
];
8383

@@ -92,7 +92,7 @@ in
9292
endif
9393
'';
9494

95-
programs.vim.package = pkgs.vim_configurable.customize {
95+
programs.vim.package = pkgs.vim-full.customize {
9696
name = "vim";
9797
vimrcConfig.customRC = config.environment.etc."vimrc".text;
9898
vimrcConfig.vam = {

0 commit comments

Comments
 (0)