Add darwin specific dependencies
This commit is contained in:
parent
e1ab8ae4a9
commit
50602eb299
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cargo, rustc, rustPlatform, pkgconfig, glib, openssl }:
|
{ stdenv, fetchFromGitHub, cargo, rustc, rustPlatform, pkgconfig, glib, openssl, darwin }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
version = "0.2.8";
|
version = "0.2.8";
|
||||||
@ -17,7 +17,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
];
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
];
|
] ++ stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
|
||||||
# Tests fail because of client server setup which is not possible inside the pure environment,
|
# Tests fail because of client server setup which is not possible inside the pure environment,
|
||||||
# see https://github.com/mozilla/sccache/issues/460
|
# see https://github.com/mozilla/sccache/issues/460
|
||||||
checkPhase = null;
|
checkPhase = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user