1{ 2 testers, 3 fetchFirefoxAddon, 4 fetchurl, 5 ... 6}: 7 8{ 9 simple = testers.invalidateFetcherByDrvHash fetchFirefoxAddon { 10 name = "image-search-options"; 11 # Chosen because its only 147KB 12 url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi"; 13 sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg="; 14 }; 15 overridden-source = 16 let 17 image-search-options = fetchurl { 18 url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi"; 19 sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg="; 20 }; 21 in 22 testers.invalidateFetcherByDrvHash fetchFirefoxAddon { 23 name = "image-search-options"; 24 src = image-search-options; 25 }; 26}