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
, fetchFromGitHub
, pkg-config
, libsodium
, Security
, sqlite
, nix-update-script
, testers
@ -36,6 +38,8 @@ rustPlatform.buildRustPackage rec {
buildInputs = [
libsodium
sqlite
] ++ lib.optionals stdenv.isDarwin [
Security
];
passthru = {

View File

@ -12523,7 +12523,9 @@ with pkgs;
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 { };