joker: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 05:29:00 -05:00
parent 92da50afa8
commit 618075428b
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, buildGoModule, fetchFromGitHub }:
{ stdenv, buildGoModule, fetchFromGitHub, Security }:
buildGoModule rec {
pname = "joker";
@ -13,6 +13,8 @@ buildGoModule rec {
modSha256 = "0i16vf7n1xfz5kp9w3fvyc9y9wgz4h396glgpdaznpxjr12rb43j";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
preBuild = ''
go generate ./...
'';

View File

@ -9296,7 +9296,9 @@ in
jmeter = callPackage ../applications/networking/jmeter {};
joker = callPackage ../development/interpreters/joker {};
joker = callPackage ../development/interpreters/joker {
inherit (darwin.apple_sdk.frameworks) Security;
};
davmail = callPackage ../applications/networking/davmail {};