From 938f7302c3a266ccd45173c881560523e4352f28 Mon Sep 17 00:00:00 2001 From: figsoda Date: Mon, 15 Nov 2021 19:38:29 -0500 Subject: sheesy-cli: use buildFeatures --- pkgs/tools/security/sheesy-cli/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/tools/security/sheesy-cli') diff --git a/pkgs/tools/security/sheesy-cli/default.nix b/pkgs/tools/security/sheesy-cli/default.nix index ea71be7c95341..4be2189e29353 100644 --- a/pkgs/tools/security/sheesy-cli/default.nix +++ b/pkgs/tools/security/sheesy-cli/default.nix @@ -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) \ -- cgit 1.4.1