From a6cd75f1c384f63267ab9ef2cc96f22e426050cf Mon Sep 17 00:00:00 2001 From: kossLAN Date: Fri, 25 Apr 2025 21:22:22 -0400 Subject: [PATCH] nix/wrapZsh: remove ability for extraPackages --- nix/config.nix | 6 +----- nix/wrapZsh.nix | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/nix/config.nix b/nix/config.nix index 6cf1fe2..35207a3 100644 --- a/nix/config.nix +++ b/nix/config.nix @@ -15,10 +15,6 @@ in { # Whether or not to enable auto suggestions autoSuggestions = true; - extraPackages = with pkgs; [ - fzf - ]; - # Additional .zshrc configuration that you can add that will be appended to the .zshrc extraZshrc = '' # Stupid thing broken in NixOS module I think @@ -30,7 +26,7 @@ in { bindkey "^[[1;5D" backward-word # Special plugin cases - source <(fzf --zsh) + source <(${lib.getExe pkgs.fzf} --zsh) ''; # A list of path's to a plugin diff --git a/nix/wrapZsh.nix b/nix/wrapZsh.nix index beebdc5..d35b437 100644 --- a/nix/wrapZsh.nix +++ b/nix/wrapZsh.nix @@ -58,7 +58,6 @@ in ''} $out/etc/zsh/.zshrc wrapProgram $out/bin/zsh \ - --prefix PATH : "${lib.makeBinPath conf.extraPackages}" \ --set ZDOTDIR "$out/etc/zsh" ''; }