Merge pull request #191115 from pleshevskiy/exa

exa: add gitSupport input parameter

authored by Maximilian Bosch and committed by GitHub 95b2ee7c d3a4148e

+15 -2
+15 -2
pkgs/tools/misc/exa/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, rustPlatform, cmake, pandoc, pkg-config, zlib 2 - , Security, libiconv, installShellFiles 1 + { lib 2 + , gitSupport ? true 3 + , stdenv 4 + , fetchFromGitHub 5 + , rustPlatform 6 + , cmake 7 + , pandoc 8 + , pkg-config 9 + , zlib 10 + , Security 11 + , libiconv 12 + , installShellFiles 3 13 }: 4 14 5 15 rustPlatform.buildRustPackage rec { ··· 25 35 nativeBuildInputs = [ cmake pkg-config installShellFiles pandoc ]; 26 36 buildInputs = [ zlib ] 27 37 ++ lib.optionals stdenv.isDarwin [ libiconv Security ]; 38 + 39 + buildNoDefaultFeatures = true; 40 + buildFeatures = lib.optional gitSupport "git"; 28 41 29 42 outputs = [ "out" "man" ]; 30 43