mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
Run nixpkgsLibTests in lazy trees mode
This commit is contained in:
parent
ac6318c9c5
commit
7bafc99f20
1 changed files with 13 additions and 0 deletions
|
|
@ -187,6 +187,19 @@ in
|
|||
pkgs = nixpkgsFor.${system}.native;
|
||||
}
|
||||
);
|
||||
|
||||
nixpkgsLibTestsLazy = forAllSystems (
|
||||
system:
|
||||
lib.overrideDerivation
|
||||
(import (nixpkgs + "/lib/tests/test-with-nix.nix") {
|
||||
lib = nixpkgsFor.${system}.native.lib;
|
||||
nix = self.packages.${system}.nix-cli;
|
||||
pkgs = nixpkgsFor.${system}.native;
|
||||
})
|
||||
(_: {
|
||||
"NIX_CONFIG" = "lazy-trees = true";
|
||||
})
|
||||
);
|
||||
};
|
||||
|
||||
metrics.nixpkgs = import "${nixpkgs-regression}/pkgs/top-level/metrics.nix" {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue