diff --git a/home/programs/zsh.nix b/home/programs/zsh.nix index 1051186..1705393 100644 --- a/home/programs/zsh.nix +++ b/home/programs/zsh.nix @@ -89,6 +89,10 @@ in find $(nix build "nixpkgs#$1" --no-link --print-out-paths) } + build() { + nix build --impure --expr "with import {}; callPackage $1 {}" + } + # Completion settings ## Case insensitive completion zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'