rustdesk-server: fix darwin builds

This commit is contained in:
Theodore Ni 2023-07-25 01:55:33 -07:00 committed by Bjørn Forsman
parent a403fd8565
commit 1571a1aacf
2 changed files with 8 additions and 2 deletions

View File

@ -1,8 +1,10 @@
{ lib { stdenv
, lib
, rustPlatform , rustPlatform
, fetchFromGitHub , fetchFromGitHub
, pkg-config , pkg-config
, libsodium , libsodium
, Security
, sqlite , sqlite
, nix-update-script , nix-update-script
, testers , testers
@ -36,6 +38,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ buildInputs = [
libsodium libsodium
sqlite sqlite
] ++ lib.optionals stdenv.isDarwin [
Security
]; ];
passthru = { passthru = {

View File

@ -12523,7 +12523,9 @@ with pkgs;
inherit (darwin.apple_sdk.frameworks) Security; inherit (darwin.apple_sdk.frameworks) Security;
}; };
rustdesk-server = callPackage ../servers/rustdesk-server { }; rustdesk-server = callPackage ../servers/rustdesk-server {
inherit (darwin.apple_sdk.frameworks) Security;
};
rustypaste = callPackage ../servers/rustypaste { }; rustypaste = callPackage ../servers/rustypaste { };