We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d7827d1 + 081f217 commit 5238267Copy full SHA for 5238267
pkgs/build-support/fetchtorrent/tests.nix
@@ -62,17 +62,7 @@ let
62
# Fixed output derivation hash is identical for all derivations: the empty
63
# directory.
64
fetchtorrentWithHash =
65
- args:
66
- fetchtorrent (
67
- {
68
- hash = builtins.convertHash {
69
- hash = emptyDirectory.outputHash;
70
- toHashFormat = "sri";
71
- hashAlgo = emptyDirectory.outputHashAlgo;
72
- };
73
- }
74
- // args
75
- );
+ args: fetchtorrent ({ hash = "sha256-pQpattmS9VmO3ZIQUFn66az8GSmB4IvYhTTCFn6SUmo="; } // args);
76
in
77
# Seems almost but not quite worth using lib.mapCartesianProduct...
78
builtins.mapAttrs (n: v: testers.invalidateFetcherByDrvHash fetchtorrentWithHash v) {
0 commit comments