diff options
author | figsoda <figsoda@pm.me> | 2021-11-15 19:38:29 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2021-11-16 08:11:51 -0500 |
commit | 938f7302c3a266ccd45173c881560523e4352f28 (patch) | |
tree | 48915773540be212cc095957b5828330b2e4da99 /pkgs/tools/security/sheesy-cli | |
parent | da8702439abce2837a607a8e1cba284566b7ab52 (diff) |
sheesy-cli: use buildFeatures
Diffstat (limited to 'pkgs/tools/security/sheesy-cli')
-rw-r--r-- | pkgs/tools/security/sheesy-cli/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
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) \ |