diff options
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/eza/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/tools/misc/eza/default.nix b/pkgs/tools/misc/eza/default.nix index 2519f669bef76..9a29ab76f15fd 100644 --- a/pkgs/tools/misc/eza/default.nix +++ b/pkgs/tools/misc/eza/default.nix @@ -10,6 +10,9 @@ , Security , libiconv , installShellFiles + # once eza upstream gets support for setting up a compatibilty symlink for exa, we should change + # the handling here from postInstall to passing the required argument to the builder. +, exaAlias ? true }: rustPlatform.buildRustPackage rec { @@ -43,6 +46,8 @@ rustPlatform.buildRustPackage rec { --bash completions/bash/eza \ --fish completions/fish/eza.fish \ --zsh completions/zsh/_eza + '' + lib.optionalString exaAlias '' + ln -s eza $out/bin/exa ''; meta = with lib; { |