Add darwin support packages
This commit is contained in:
parent
4cca422b3b
commit
dc78ed045a
|
@ -69,7 +69,12 @@
|
||||||
rustc = rust;
|
rustc = rust;
|
||||||
cargo = rust;
|
cargo = rust;
|
||||||
};
|
};
|
||||||
buildInputs = (sharedDeps system) ++ (with pkgs; [ openssl ]);
|
buildInputs = (sharedDeps system) ++ (with pkgs;
|
||||||
|
[ openssl ] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
darwin.apple_sdk.frameworks.Security
|
||||||
|
pkgs.libiconv
|
||||||
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
|
]);
|
||||||
nativeBuildInputs = (sharedNativeDeps system)
|
nativeBuildInputs = (sharedNativeDeps system)
|
||||||
++ (with pkgs; [ pkg-config cmake ]);
|
++ (with pkgs; [ pkg-config cmake ]);
|
||||||
devBase = with pkgs;
|
devBase = with pkgs;
|
||||||
|
|
Loading…
Reference in New Issue