about summary refs log tree commit diff
path: root/pkgs/test/default.nix
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-01-29 08:54:13 +0100
committerRobert Hensing <robert@roberthensing.nl>2023-01-29 09:51:55 +0100
commit3be7ea8c891b3209e92e961fe689649fb0333bcc (patch)
tree491de62a6676ccb943f8900628598990ea5f9bd2 /pkgs/test/default.nix
parent811bf8ade022b34148a5b71242ca1a713865c7fa (diff)
top-level/pkg-config: Make tests easy to find
Diffstat (limited to 'pkgs/test/default.nix')
-rw-r--r--pkgs/test/default.nix17
1 files changed, 1 insertions, 16 deletions
diff --git a/pkgs/test/default.nix b/pkgs/test/default.nix
index 72b22f7f68658..39039c5950e46 100644
--- a/pkgs/test/default.nix
+++ b/pkgs/test/default.nix
@@ -51,22 +51,7 @@ with pkgs;
 
   php = recurseIntoAttrs (callPackages ./php {});
 
-  defaultPkgConfigPackages =
-    let
-      # defaultPkgConfigPackages test needs a Nixpkgs with allowUnsupportedPlatform
-      # in order to filter out the unsupported packages without throwing any errors
-      # tryEval would be too fragile, masking different problems as if they're
-      # unsupported platform problems.
-      allPkgs = import ../top-level {
-        system = pkgs.stdenv.hostPlatform.system;
-        localSystem = pkgs.stdenv.hostPlatform.system;
-        config = {
-          allowUnsupportedSystem = true;
-        };
-        overlays = [];
-      };
-    in
-    allPkgs.callPackage ./pkg-config-packages.nix { };
+  pkg-config = recurseIntoAttrs (callPackage ../top-level/pkg-config/tests.nix { });
 
   rustCustomSysroot = callPackage ./rust-sysroot {};
   buildRustCrate = callPackage ../build-support/rust/build-rust-crate/test { };