52dfbeccb1
- Migrate tests to python-based runner for newer nixpkgs. - Adaptations for newer nginx module used in tests - Increase memory size for tests
19 lines
432 B
Nix
19 lines
432 B
Nix
{ sources ? import ./sources.nix
|
|
, nixpkgsName ? "nixos-20.03"
|
|
, nixpkgsSrc ? sources.${nixpkgsName}
|
|
, system ? builtins.currentSystem
|
|
, nixosTestIsPerl ? false
|
|
, ...
|
|
}:
|
|
|
|
import nixpkgsSrc ({
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
config = {
|
|
};
|
|
overlays = [
|
|
# all the packages are defined there:
|
|
(_: _: { inherit nixosTestIsPerl; })
|
|
(import ./overlay.nix)
|
|
];
|
|
inherit system;
|
|
})
|