pijul: use buildFeatures
This commit is contained in:
parent
f8f4575030
commit
eb97241d7c
@ -22,8 +22,6 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoSha256 = "sha256-j9xf97qPdhtakIwhAql0/Go5fPxlyWKAVLk5CMBfAbs=";
|
||||
|
||||
cargoBuildFlags = lib.optional gitImportSupport "--features=git";
|
||||
|
||||
doCheck = false;
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
buildInputs = [ openssl libsodium xxHash zstd ]
|
||||
@ -32,6 +30,8 @@ rustPlatform.buildRustPackage rec {
|
||||
CoreServices Security SystemConfiguration
|
||||
]));
|
||||
|
||||
buildFeatures = lib.optional gitImportSupport "git";
|
||||
|
||||
meta = with lib; {
|
||||
description = "A distributed version control system";
|
||||
homepage = "https://pijul.org";
|
||||
|
Loading…
Reference in New Issue
Block a user