Loading pkgs/tools/networking/shadowfox/default.nix +11 −3 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildGoModule }: { lib, fetchFromGitHub, buildGoModule, fetchpatch }: buildGoModule rec { pname = "shadowfox"; Loading @@ -11,7 +11,16 @@ buildGoModule rec { sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6"; }; vendorSha256 = null; #vendorSha256 = ""; patches = [ # get vendoring to work with go1.20 # https://github.com/arguablykomodo/shadowfox-updater/pull/70 (fetchpatch { url = "https://github.com/arguablykomodo/shadowfox-updater/commit/c16be00829373e0de7de47d6fb4d4c341fc36f75.patch"; hash = "sha256-buijhFLI8Sf9qBDntf689Xcpr6me+aVDoRqwSIcKKEw="; }) ]; vendorHash = "sha256-3pHwyktSGxNM7mt0nPOe6uixS+bBJH9R8xqCyY6tlb0="; doCheck = false; Loading @@ -27,6 +36,5 @@ buildGoModule rec { license = licenses.mit; maintainers = with maintainers; [ infinisil ]; mainProgram = "shadowfox-updater"; broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check }; } Loading
pkgs/tools/networking/shadowfox/default.nix +11 −3 Original line number Diff line number Diff line { lib, fetchFromGitHub, buildGoModule }: { lib, fetchFromGitHub, buildGoModule, fetchpatch }: buildGoModule rec { pname = "shadowfox"; Loading @@ -11,7 +11,16 @@ buildGoModule rec { sha256 = "125mw70jidbp436arhv77201jdp6mpgqa2dzmrpmk55f9bf29sg6"; }; vendorSha256 = null; #vendorSha256 = ""; patches = [ # get vendoring to work with go1.20 # https://github.com/arguablykomodo/shadowfox-updater/pull/70 (fetchpatch { url = "https://github.com/arguablykomodo/shadowfox-updater/commit/c16be00829373e0de7de47d6fb4d4c341fc36f75.patch"; hash = "sha256-buijhFLI8Sf9qBDntf689Xcpr6me+aVDoRqwSIcKKEw="; }) ]; vendorHash = "sha256-3pHwyktSGxNM7mt0nPOe6uixS+bBJH9R8xqCyY6tlb0="; doCheck = false; Loading @@ -27,6 +36,5 @@ buildGoModule rec { license = licenses.mit; maintainers = with maintainers; [ infinisil ]; mainProgram = "shadowfox-updater"; broken = true; # vendor isn't reproducible with go > 1.17: nix-build -A $name.go-modules --check }; }