xh: fix build on darwin
This commit is contained in:
parent
c5d2f7033a
commit
50390e9183
2 changed files with 3 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
, pkg-config
|
||||
, withNativeTls ? true
|
||||
, stdenv
|
||||
, Security
|
||||
, darwin
|
||||
, openssl
|
||||
}:
|
||||
|
||||
|
@ -27,7 +27,7 @@ rustPlatform.buildRustPackage rec {
|
|||
nativeBuildInputs = [ installShellFiles pkg-config ];
|
||||
|
||||
buildInputs = lib.optionals withNativeTls
|
||||
(if stdenv.isDarwin then [ Security ] else [ openssl ]);
|
||||
(if stdenv.isDarwin then [ darwin.apple_sdk.frameworks.SystemConfiguration ] else [ openssl ]);
|
||||
|
||||
# Get openssl-sys to use pkg-config
|
||||
OPENSSL_NO_VENDOR = 1;
|
||||
|
|
|
@ -32390,9 +32390,7 @@ with pkgs;
|
|||
|
||||
ht = callPackage ../applications/editors/ht { };
|
||||
|
||||
xh = callPackage ../tools/networking/xh {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
xh = callPackage ../tools/networking/xh { };
|
||||
|
||||
hubstaff = callPackage ../applications/misc/hubstaff { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue