nix: macos build deps
This commit is contained in:
parent
cbd67821fc
commit
54f19683c5
1 changed files with 9 additions and 3 deletions
12
package.nix
12
package.nix
|
@ -1,11 +1,17 @@
|
|||
{ rustPlatform
|
||||
{ lib
|
||||
, stdenv
|
||||
|
||||
, rustPlatform
|
||||
|
||||
# Runtime Deps
|
||||
, sqlite
|
||||
, openssl
|
||||
|
||||
# Build Deps
|
||||
, openssl
|
||||
, pkg-config
|
||||
|
||||
# Darwin Build Deps
|
||||
, darwin
|
||||
}:
|
||||
|
||||
let
|
||||
|
@ -23,7 +29,7 @@ rustPlatform.buildRustPackage {
|
|||
nativeBuildInputs = [
|
||||
openssl
|
||||
pkg-config
|
||||
];
|
||||
] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
|
|
Loading…
Reference in a new issue