dump_syms: fix build on darwin

This commit is contained in:
Martin Weinelt 2022-05-17 14:40:13 +02:00
parent f423066be2
commit 13d03f19ad
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 9 additions and 1 deletions

View File

@ -1,8 +1,12 @@
{ lib
, stdenv
, rustPlatform
, fetchFromGitHub
, pkg-config
, openssl
# darwin
, Security
}:
let
@ -27,6 +31,8 @@ rustPlatform.buildRustPackage {
buildInputs = [
openssl
] ++ lib.optionals (stdenv.isDarwin) [
Security
];
checkFlags = [

View File

@ -5309,7 +5309,9 @@ with pkgs;
autoreconfHook = buildPackages.autoreconfHook269;
};
dump_syms = callPackage ../development/tools/dump_syms { };
dump_syms = callPackage ../development/tools/dump_syms {
inherit (darwin.apple_sdk.frameworks) Security;
};
dumptorrent = callPackage ../tools/misc/dumptorrent { };