mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
8d6e101893
This was enabling aliases on ofborg.
22 lines
738 B
Nix
22 lines
738 B
Nix
# cd nixpkgs
|
|
# nix-build -A tests.pkg-config
|
|
{ lib, config, stdenv, ... }:
|
|
|
|
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 ../default.nix {
|
|
system = stdenv.hostPlatform.system;
|
|
localSystem = stdenv.buildPlatform.system;
|
|
config = config // {
|
|
allowUnsupportedSystem = true;
|
|
};
|
|
overlays = [];
|
|
};
|
|
in
|
|
lib.recurseIntoAttrs {
|
|
defaultPkgConfigPackages = allPkgs.callPackage ./test-defaultPkgConfigPackages.nix { } // { __recurseIntoDerivationForReleaseJobs = true; };
|
|
}
|