2 # nix-build -A tests.pkg-config
3 { lib, config, stdenv, ... }:
6 # defaultPkgConfigPackages test needs a Nixpkgs with allowUnsupportedPlatform
7 # in order to filter out the unsupported packages without throwing any errors
8 # tryEval would be too fragile, masking different problems as if they're
9 # unsupported platform problems.
10 allPkgs = import ../default.nix {
11 system = stdenv.hostPlatform.system;
12 localSystem = stdenv.buildPlatform.system;
14 allowUnsupportedSystem = true;
19 lib.recurseIntoAttrs {
20 defaultPkgConfigPackages = allPkgs.callPackage ./test-defaultPkgConfigPackages.nix { } // { __recurseIntoDerivationForReleaseJobs = true; };