diff --git a/pkgs/tools/misc/exa/default.nix b/pkgs/tools/misc/exa/default.nix index 40fcc8b01c21..108155b6ad6d 100644 --- a/pkgs/tools/misc/exa/default.nix +++ b/pkgs/tools/misc/exa/default.nix @@ -1,5 +1,15 @@ -{ lib, stdenv, fetchFromGitHub, rustPlatform, cmake, pandoc, pkg-config, zlib -, Security, libiconv, installShellFiles +{ lib +, gitSupport ? true +, stdenv +, fetchFromGitHub +, rustPlatform +, cmake +, pandoc +, pkg-config +, zlib +, Security +, libiconv +, installShellFiles }: rustPlatform.buildRustPackage rec { @@ -26,6 +36,9 @@ rustPlatform.buildRustPackage rec { buildInputs = [ zlib ] ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; + buildNoDefaultFeatures = true; + buildFeatures = lib.optional gitSupport "git"; + outputs = [ "out" "man" ]; postInstall = ''