forked from mirrors/nixpkgs
sheesy-cli: use buildFeatures
This commit is contained in:
parent
da8702439a
commit
938f7302c3
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue