diff --git a/pkgs/by-name/ez/eza/package.nix b/pkgs/by-name/ez/eza/package.nix index 19293a765010..2bbc21ac8708 100644 --- a/pkgs/by-name/ez/eza/package.nix +++ b/pkgs/by-name/ez/eza/package.nix @@ -8,6 +8,7 @@ pkg-config, zlib, installShellFiles, + versionCheckHook, # once eza upstream gets support for setting up a compatibility symlink for exa, we should change # the handling here from postInstall to passing the required argument to the builder. exaAlias ? true, @@ -17,6 +18,8 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "eza"; version = "0.23.4"; + __structuredAttrs = true; + src = fetchFromGitHub { owner = "eza-community"; repo = "eza"; @@ -57,6 +60,9 @@ rustPlatform.buildRustPackage (finalAttrs: { ln -s eza $out/bin/exa ''; + nativeInstallCheckInputs = [ versionCheckHook ]; + doInstallCheck = true; + meta = { description = "Modern, maintained replacement for ls"; longDescription = ''