about summary refs log tree commit diff
path: root/pkgs/applications/misc
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:24:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 04:24:00 -0500
commit4ca044eafc4a1ec888283ec55e6b6d167494506e (patch)
treebdfdaf80925309e99151e9742e9a36dbab4024d8 /pkgs/applications/misc
parent976a9ea16b883424cb31cc5b4d612def1da22cbd (diff)
archiver: fix build on darwin
Diffstat (limited to 'pkgs/applications/misc')
-rw-r--r--pkgs/applications/misc/archiver/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/misc/archiver/default.nix b/pkgs/applications/misc/archiver/default.nix
index 64b592b78714b..8c79d867c831b 100644
--- a/pkgs/applications/misc/archiver/default.nix
+++ b/pkgs/applications/misc/archiver/default.nix
@@ -1,6 +1,7 @@
 { buildGoModule
 , fetchFromGitHub
-, lib
+, stdenv
+, Security
 }:
 
 buildGoModule rec {
@@ -16,7 +17,9 @@ buildGoModule rec {
 
   modSha256 = "1mrfqhd0zb78rlqlj2ncb0srwjfl7rzhy2p9mwa82pgysvlp08gv";
 
-  meta = with lib; {
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
+  meta = with stdenv.lib; {
     description = "Easily create & extract archives, and compress & decompress files of various formats";
     homepage = "https://github.com/mholt/archiver";
     license = licenses.mit;