diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:29:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 05:29:00 -0500 |
commit | 618075428b25837beaf4c3711aca1d40b5de29bf (patch) | |
tree | fca36dc14e8603b800c111e4b49147454a873230 /pkgs | |
parent | 92da50afa856920842a353264b68673fe0dd2c8c (diff) | |
download | nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.tar nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.tar.gz nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.tar.bz2 nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.tar.lz nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.tar.xz nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.tar.zst nixlib-618075428b25837beaf4c3711aca1d40b5de29bf.zip |
joker: fix build on darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/interpreters/joker/default.nix | 4 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/development/interpreters/joker/default.nix b/pkgs/development/interpreters/joker/default.nix index ed82f76eec24..1db2dd60197b 100644 --- a/pkgs/development/interpreters/joker/default.nix +++ b/pkgs/development/interpreters/joker/default.nix @@ -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 ./... ''; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index abddc4ec7286..49f408b7e1cc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 {}; |