diff --git a/pkgs/build-support/fetchtorrent/tests.nix b/pkgs/build-support/fetchtorrent/tests.nix index 3e3f6c9adfb8..69d47d589998 100644 --- a/pkgs/build-support/fetchtorrent/tests.nix +++ b/pkgs/build-support/fetchtorrent/tests.nix @@ -29,11 +29,6 @@ let ''; license = lib.licenses.cc-by-30; homepage = "https://durian.blender.org/"; - - # Reported in https://github.com/NixOS/nixpkgs/pull/458193#issuecomment-3575753211 that these - # tests are causing Hydra to spin for hours. They all pass locally, and we don't care too much - # about running them on Hydra. - hydraPlatforms = [ ]; }; # Via https://webtorrent.io/free-torrents @@ -64,10 +59,20 @@ let popd ''; - # Fixed output derivation hash is identical for all derivations: the empty - # directory. fetchtorrentWithHash = - args: fetchtorrent ({ hash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; } // args); + args: + fetchtorrent ( + { + # Fixed output derivation hash is identical for all derivations: the empty directory. + hash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; + + # Reported in https://github.com/NixOS/nixpkgs/pull/458193#issuecomment-3575753211 + # that these tests are causing Hydra to spin for hours on macOS. + # They all pass locally, and we don't care too much about running them on Hydra. + meta.hydraPlatforms = [ ]; + } + // args + ); in # Seems almost but not quite worth using lib.mapCartesianProduct... builtins.mapAttrs (n: v: testers.invalidateFetcherByDrvHash fetchtorrentWithHash v) {