diff --git a/pkgs/tools/misc/livedl/default.nix b/pkgs/tools/misc/livedl/default.nix index ef298fbc6464..bbda8b6c8fd8 100644 --- a/pkgs/tools/misc/livedl/default.nix +++ b/pkgs/tools/misc/livedl/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib, buildGoModule, fetchFromGitHub, stdenv }: buildGoModule rec { pname = "livedl"; @@ -11,9 +11,10 @@ buildGoModule rec { sha256 = "1zax215jp6sl47m8ahssyyrbzn96dh74srq9g61jc76sq10xg329"; }; - sourceRoot = "source/src"; + modRoot = "src"; - vendorSha256 = "g5Y1IH1U1zOOHygTzAJuBnUj+MyPe64KHTYikipt3TY="; + proxyVendor = true; + vendorSha256 = "sha256-C7lUusq/cWBCnA2wP9fzQglJCXvQyvFG4JY13H0cP6g="; meta = with lib; { description = "Command-line tool to download nicovideo.jp livestreams"; @@ -21,5 +22,6 @@ buildGoModule rec { license = licenses.mit; maintainers = with maintainers; [ wakira ]; platforms = platforms.linux ++ platforms.darwin; + broken = stdenv.isDarwin; # build fails with go > 1.17 }; } diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index d20b4d8e8d40..9fe9cb1c4011 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -33640,10 +33640,7 @@ with pkgs; }; litecoind = litecoin.override { withGui = false; }; - livedl = callPackage ../tools/misc/livedl { - # pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild - buildGoModule = buildGo117Module; - }; + livedl = callPackage ../tools/misc/livedl { }; lnd = callPackage ../applications/blockchains/lnd { };