Merge pull request #191115 from pleshevskiy/exa

exa: add gitSupport input parameter
This commit is contained in:
Maximilian Bosch
2022-09-17 14:35:03 +02:00
committed by GitHub
+15 -2
View File
@@ -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 = ''