about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2022-11-04 11:39:09 +0800
committerBobby Rong <rjl931189261@126.com>2022-11-04 11:39:09 +0800
commit6af053e21b2e3a9b87a3dab75101e18612db1e07 (patch)
tree56d896a00344733c155e87ec60a6941b385c6890 /pkgs/applications
parent3a00c537fa350581ee41692fd51fb1ff7c203407 (diff)
srvc: Fix darwin build
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/version-management/srvc/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/version-management/srvc/default.nix b/pkgs/applications/version-management/srvc/default.nix
index d7eb9ac34cd8b..a3e8d5dc81355 100644
--- a/pkgs/applications/version-management/srvc/default.nix
+++ b/pkgs/applications/version-management/srvc/default.nix
@@ -1,4 +1,4 @@
-{ lib, fetchFromGitHub, rustPlatform }:
+{ lib, fetchFromGitHub, rustPlatform, stdenv, Security }:
 
 rustPlatform.buildRustPackage rec {
   pname = "srvc";
@@ -13,6 +13,10 @@ rustPlatform.buildRustPackage rec {
 
   cargoSha256 = "sha256-sjMg5XMnAQZjp6z9prtRq+0pyNQ1oTm0/KWOZPxDW4w=";
 
+  buildInputs = lib.optionals stdenv.isDarwin [
+    Security
+  ];
+
   meta = with lib; {
     description = "Sysrev version control";
     homepage = "https://github.com/insilica/rs-srvc";