shadowfox: fix build on darwin

This commit is contained in:
Mario Rodas 2020-03-21 06:03:00 -05:00
parent 771cf05ac6
commit 83b6e5b565
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, buildGoModule }: { stdenv, fetchFromGitHub, buildGoModule, Security }:
buildGoModule rec { buildGoModule rec {
pname = "shadowfox"; pname = "shadowfox";
@ -11,10 +11,10 @@ buildGoModule rec {
sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6"; sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6";
}; };
goPackagePath = "github.com/SrKomodo/shadowfox-updater";
modSha256 = "0hcc87mzacqwbw10l49kx0sxl4mivdr88c40wh6hdfvrbam2w86r"; modSha256 = "0hcc87mzacqwbw10l49kx0sxl4mivdr88c40wh6hdfvrbam2w86r";
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
buildFlags = [ "--tags" "release" ]; buildFlags = [ "--tags" "release" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {

View File

@ -21741,7 +21741,9 @@ in
sfxr-qt = libsForQt5.callPackage ../applications/audio/sfxr-qt { }; sfxr-qt = libsForQt5.callPackage ../applications/audio/sfxr-qt { };
shadowfox = callPackage ../tools/networking/shadowfox { }; shadowfox = callPackage ../tools/networking/shadowfox {
inherit (darwin.apple_sdk.frameworks) Security;
};
shfmt = callPackage ../tools/text/shfmt { }; shfmt = callPackage ../tools/text/shfmt { };