1 { # The pkgs used for dependencies for the testing itself
2 # Don't test properties of pkgs.lib, but rather the lib in the parent directory
3 pkgs ? import ../.. {} // { lib = throw "pkgs.lib accessed, but the lib tests should use nixpkgs' lib path directly!"; },
4 nix ? pkgs-nixVersions.stable,
5 nixVersions ? [ pkgs-nixVersions.minimum nix pkgs-nixVersions.latest ],
6 pkgs-nixVersions ? import ./nix-for-tests.nix { inherit pkgs; },
12 import ./test-with-nix.nix { inherit lib nix pkgs; };
16 name = "nixpkgs-lib-tests";
17 paths = map testWithNix nixVersions ++
20 # TEMPORARY MIGRATION MECHANISM
22 # This comment and the expression which follows it should be
23 # removed as part of resolving this issue:
25 # https://github.com/NixOS/nixpkgs/issues/272591
27 [(import ../../pkgs/test/release {