Merge pull request #173389 from mweinelt/dump_syms
dump_syms: fix build on darwin
This commit is contained in:
commit
0f42f9eb7a
2 changed files with 9 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
|
@ -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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue