summary refs log tree commit diff
path: root/pkgs/tools/networking/shadowfox
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-03-21 06:03:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-03-21 06:03:00 -0500
commit83b6e5b565f1ca3502ef7258a76d325539a45e13 (patch)
tree54637a260ba7553b7657a3fc3ec6315cd04e520a /pkgs/tools/networking/shadowfox
parent771cf05ac6d8373c4246b197a76c8d366207b901 (diff)
downloadnixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.tar
nixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.tar.gz
nixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.tar.bz2
nixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.tar.lz
nixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.tar.xz
nixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.tar.zst
nixpkgs-83b6e5b565f1ca3502ef7258a76d325539a45e13.zip
shadowfox: fix build on darwin
Diffstat (limited to 'pkgs/tools/networking/shadowfox')
-rw-r--r--pkgs/tools/networking/shadowfox/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/tools/networking/shadowfox/default.nix b/pkgs/tools/networking/shadowfox/default.nix
index f2ae143e1b9..37d5edaec45 100644
--- a/pkgs/tools/networking/shadowfox/default.nix
+++ b/pkgs/tools/networking/shadowfox/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, buildGoModule }:
+{ stdenv, fetchFromGitHub, buildGoModule, Security }:
 
 buildGoModule rec {
   pname = "shadowfox";
@@ -11,10 +11,10 @@ buildGoModule rec {
     sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
   };
 
-  goPackagePath = "github.com/SrKomodo/shadowfox-updater";
-
   modSha256 = "0hcc87mzacqwbw10l49kx0sxl4mivdr88c40wh6hdfvrbam2w86r";
 
+  buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
+
   buildFlags = [ "--tags" "release" ];
 
   meta = with stdenv.lib; {