Merge pull request #138869 from Artturin/ffetchertests

authored by

Artturi and committed by
GitHub
b31618c7 42e65a5f

+14 -1
+10
pkgs/build-support/fetchfirefoxaddon/tests.nix
···
··· 1 + { invalidateFetcherByDrvHash, fetchFirefoxAddon, ... }: 2 + 3 + { 4 + simple = invalidateFetcherByDrvHash fetchFirefoxAddon { 5 + name = "image-search-options"; 6 + # Chosen because its only 147KB 7 + url = "https://addons.mozilla.org/firefox/downloads/file/3059971/image_search_options-3.0.12-fx.xpi"; 8 + sha256 = "sha256-H73YWX/DKxvhEwKpWOo7orAQ7c/rQywpljeyxYxv0Gg="; 9 + }; 10 + }
+4 -1
pkgs/top-level/all-packages.nix
··· 510 511 fetchhg = callPackage ../build-support/fetchhg { }; 512 513 - fetchFirefoxAddon = callPackage ../build-support/fetchfirefoxaddon {}; 514 515 # `fetchurl' downloads a file from the network. 516 fetchurl = if stdenv.buildPlatform != stdenv.hostPlatform
··· 510 511 fetchhg = callPackage ../build-support/fetchhg { }; 512 513 + fetchFirefoxAddon = callPackage ../build-support/fetchfirefoxaddon { } 514 + // { 515 + tests = callPackages ../build-support/fetchfirefoxaddon/tests.nix { }; 516 + }; 517 518 # `fetchurl' downloads a file from the network. 519 fetchurl = if stdenv.buildPlatform != stdenv.hostPlatform