diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:11:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2020-03-21 06:11:00 -0500 |
commit | 306bc84748639db0b87694b54475a15647093c24 (patch) | |
tree | cff97d02535d3c687d7d85d1ac63537b05ff4dda /pkgs/servers/gotify | |
parent | 17eed5e575b6273c8b0a1f69dbe9378ce03436f5 (diff) |
gotify-server: fix build on darwin
Diffstat (limited to 'pkgs/servers/gotify')
-rw-r--r-- | pkgs/servers/gotify/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/gotify/default.nix b/pkgs/servers/gotify/default.nix index f2014aac9fdc..275aaa5d68bc 100644 --- a/pkgs/servers/gotify/default.nix +++ b/pkgs/servers/gotify/default.nix @@ -1,11 +1,11 @@ { stdenv , buildGoPackage -, lib , fetchFromGitHub , buildGoModule , packr , sqlite , callPackage +, Security }: buildGoModule rec { @@ -28,7 +28,8 @@ buildGoModule rec { --replace 'Version = "unknown"' 'Version = "${version}"' ''; - buildInputs = [ sqlite ]; + buildInputs = [ sqlite ] + ++ stdenv.lib.optionals stdenv.isDarwin [ Security ]; nativeBuildInputs = [ packr ]; |