dump_syms: fix build on darwin
This commit is contained in:
parent
f423066be2
commit
13d03f19ad
2 changed files with 9 additions and 1 deletions
|
@ -1,8 +1,12 @@
|
||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, rustPlatform
|
, rustPlatform
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, openssl
|
, openssl
|
||||||
|
|
||||||
|
# darwin
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -27,6 +31,8 @@ rustPlatform.buildRustPackage {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
|
] ++ lib.optionals (stdenv.isDarwin) [
|
||||||
|
Security
|
||||||
];
|
];
|
||||||
|
|
||||||
checkFlags = [
|
checkFlags = [
|
||||||
|
|
|
@ -5309,7 +5309,9 @@ with pkgs;
|
||||||
autoreconfHook = buildPackages.autoreconfHook269;
|
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 { };
|
dumptorrent = callPackage ../tools/misc/dumptorrent { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue