1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 09:02:46 +00:00

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 {};