srvc: Fix darwin build

This commit is contained in:
Bobby Rong 2022-11-04 11:39:09 +08:00
parent 3a00c537fa
commit 6af053e21b
No known key found for this signature in database
2 changed files with 8 additions and 2 deletions

View File

@ -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";

View File

@ -4863,7 +4863,9 @@ with pkgs;
spacevim = callPackage ../applications/editors/spacevim { };
srvc = callPackage ../applications/version-management/srvc { };
srvc = callPackage ../applications/version-management/srvc {
inherit (darwin.apple_sdk.frameworks) Security;
};
ssmsh = callPackage ../tools/admin/ssmsh { };