diff options
author | Peter Hoeg <peter@hoeg.com> | 2023-09-12 08:19:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-12 06:19:44 +0000 |
commit | cfc486abb1c3d5bd7bb71e0b77ade9ed7c44be92 (patch) | |
tree | 98d359826a4d286abded63586d70e6f6abd57fff /pkgs/tools | |
parent | 79aa627be641fec02ae77997d1238a2f4514691b (diff) |
eza: create exa compatiblity symlink (#254600)
eza: create exa compatiblity symlink
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; { |