3
0
Fork 0
forked from mirrors/nixpkgs

the-way: fix build on darwin

This commit is contained in:
Mario Rodas 2020-07-31 08:00:00 -05:00
parent 88e7bb10a5
commit d99c48fc41
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, rustPlatform }:
{ stdenv, fetchFromGitHub, rustPlatform, AppKit, Security }:
rustPlatform.buildRustPackage rec {
pname = "the-way";
@ -11,6 +11,8 @@ rustPlatform.buildRustPackage rec {
sha256 = "0h33jsai8gvfp0js06qa8cqpzfbjkd001kfj6p24d08ds2i00asx";
};
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ AppKit Security ];
cargoSha256 = "1r0mv1q1bz67zbxnd5qmji4svcbln8h5h0gysfddpn4dy9424fp3";
#checkFlags = "--test-threads=1";
doCheck = false;

View file

@ -3327,7 +3327,9 @@ in
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-withGui = callPackage ../tools/backup/tsm-client { };