From cfc486abb1c3d5bd7bb71e0b77ade9ed7c44be92 Mon Sep 17 00:00:00 2001 From: Peter Hoeg Date: Tue, 12 Sep 2023 08:19:44 +0200 Subject: [PATCH] eza: create exa compatiblity symlink (#254600) eza: create exa compatiblity symlink --- pkgs/tools/misc/eza/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/tools/misc/eza/default.nix b/pkgs/tools/misc/eza/default.nix index 2519f669bef7..9a29ab76f15f 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; {