mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 15:37:51 +00:00
eza: create exa compatiblity symlink (#254600)
eza: create exa compatiblity symlink
This commit is contained in:
parent
79aa627be6
commit
cfc486abb1
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user