the-way: fix build on darwin
This commit is contained in:
parent
88e7bb10a5
commit
d99c48fc41
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform }:
|
{ stdenv, fetchFromGitHub, rustPlatform, AppKit, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "the-way";
|
pname = "the-way";
|
||||||
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
sha256 = "0h33jsai8gvfp0js06qa8cqpzfbjkd001kfj6p24d08ds2i00asx";
|
sha256 = "0h33jsai8gvfp0js06qa8cqpzfbjkd001kfj6p24d08ds2i00asx";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
|
||||||
|
|
||||||
cargoSha256 = "1r0mv1q1bz67zbxnd5qmji4svcbln8h5h0gysfddpn4dy9424fp3";
|
cargoSha256 = "1r0mv1q1bz67zbxnd5qmji4svcbln8h5h0gysfddpn4dy9424fp3";
|
||||||
#checkFlags = "--test-threads=1";
|
#checkFlags = "--test-threads=1";
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
@ -3327,7 +3327,9 @@ in
|
|||||||
|
|
||||||
teamocil = callPackage ../tools/misc/teamocil { };
|
teamocil = callPackage ../tools/misc/teamocil { };
|
||||||
|
|
||||||
the-way = callPackage ../development/tools/the-way { };
|
the-way = callPackage ../development/tools/the-way {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit Security;
|
||||||
|
};
|
||||||
|
|
||||||
tsm-client = callPackage ../tools/backup/tsm-client { jdk8 = null; };
|
tsm-client = callPackage ../tools/backup/tsm-client { jdk8 = null; };
|
||||||
tsm-client-withGui = callPackage ../tools/backup/tsm-client { };
|
tsm-client-withGui = callPackage ../tools/backup/tsm-client { };
|
||||||
|
Loading…
Reference in New Issue
Block a user