3
0
Fork 0
forked from mirrors/nixpkgs

sheesy-cli: use buildFeatures

This commit is contained in:
figsoda 2021-11-15 19:38:29 -05:00
parent da8702439a
commit 938f7302c3

View file

@ -14,12 +14,16 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "159a5ph1gxwcgahyr8885lq3c1w76nxzfrfdpyqixqrr7jzx2rd3";
cargoDepsName = pname;
cargoBuildFlags = [ "--bin sy" "--features" "vault,extract,completions,substitute,process" ];
nativeBuildInputs = [ libgpg-error gpgme gettext installShellFiles ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isDarwin [ Security ];
buildFeatures = [ "vault" "extract" "completions" "substitute" "process" ];
checkFeatures = [ ];
cargoBuildFlags = [ "--bin" "sy" ];
postInstall = ''
installShellCompletion --cmd sy \
--bash <($out/bin/sy completions bash) \