diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix index e3ef7839c4b4..caed950c5764 100644 --- a/pkgs/test/default.nix +++ b/pkgs/test/default.nix @@ -27,6 +27,10 @@ with pkgs; cc-multilib-gcc = callPackage ./cc-wrapper/multilib.nix { stdenv = gccMultiStdenv; }; cc-multilib-clang = callPackage ./cc-wrapper/multilib.nix { stdenv = clangMultiStdenv; }; + fetchpatch = callPackages ../build-support/fetchpatch/tests.nix { }; + fetchgit = callPackages ../build-support/fetchgit/tests.nix { }; + fetchFirefoxAddon = callPackages ../build-support/fetchfirefoxaddon/tests.nix { }; + install-shell-files = callPackage ./install-shell-files {}; kernel-config = callPackage ./kernel.nix {}; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 931c290d4193..c9e80c0376db 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -488,7 +488,7 @@ with pkgs; cacert = buildPackages.cacert; git-lfs = buildPackages.git-lfs; }) // { # fetchgit is a function, so we use // instead of passthru. - tests = callPackages ../build-support/fetchgit/tests.nix {}; + tests = pkgs.tests.fetchgit; }; fetchgitLocal = callPackage ../build-support/fetchgitlocal { }; @@ -531,7 +531,7 @@ with pkgs; fetchpatch = callPackage ../build-support/fetchpatch { } // { - tests = callPackages ../build-support/fetchpatch/tests.nix { }; + tests = pkgs.tests.fetchpatch; }; fetchs3 = callPackage ../build-support/fetchs3 { }; @@ -549,7 +549,7 @@ with pkgs; fetchFirefoxAddon = callPackage ../build-support/fetchfirefoxaddon { } // { - tests = callPackages ../build-support/fetchfirefoxaddon/tests.nix { }; + tests = pkgs.tests.fetchFirefoxAddon; }; fetchNextcloudApp = callPackage ../build-support/fetchnextcloudapp {};