Merge pull request #173389 from mweinelt/dump_syms

dump_syms: fix build on darwin
This commit is contained in:
Martin Weinelt 2022-05-17 14:50:49 +02:00 committed by GitHub
commit 0f42f9eb7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 { };