mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-19 19:34:06 +00:00
legba: fix darwin build
This commit is contained in:
parent
9aa35efbea
commit
b6ee59f2a2
@ -5,6 +5,8 @@
|
||||
, pkg-config
|
||||
, openssl
|
||||
, samba
|
||||
, stdenv
|
||||
, darwin
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
@ -21,7 +23,9 @@ rustPlatform.buildRustPackage rec {
|
||||
cargoHash = "sha256-viDfJ214Zf5segjrLSTbHav5T5e219NAF+MvuPow+JQ=";
|
||||
|
||||
nativeBuildInputs = [ cmake pkg-config ];
|
||||
buildInputs = [ openssl.dev samba ];
|
||||
buildInputs = [ openssl.dev samba ] ++ lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||
];
|
||||
|
||||
# Paho C test fails due to permission issue
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user