2019-10-04 16:37:39 +02:00
|
|
|
{ sources ? import ./sources.nix
|
2020-09-05 23:00:30 +02:00
|
|
|
, nixpkgsName ? "nixos-unstable"
|
2019-10-24 19:36:58 +02:00
|
|
|
, nixpkgsSrc ? sources.${nixpkgsName}
|
2019-10-04 17:16:41 +02:00
|
|
|
, system ? builtins.currentSystem
|
2020-03-02 11:13:47 +01:00
|
|
|
, nixosTestIsPerl ? false
|
2021-05-26 16:57:56 +02:00
|
|
|
, dockerSupportsSystemd ? false
|
|
|
|
, nixosHasPodmanDockerSocket ? true
|
2019-06-15 14:32:59 +02:00
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
2019-10-04 16:37:39 +02:00
|
|
|
import nixpkgsSrc ({
|
2019-01-20 17:04:34 +01:00
|
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
|
|
config = {
|
|
|
|
};
|
|
|
|
overlays = [
|
2021-05-26 16:57:56 +02:00
|
|
|
(_: _: {
|
|
|
|
inherit nixosTestIsPerl;
|
|
|
|
arionTestingFlags = {
|
|
|
|
inherit nixosTestIsPerl dockerSupportsSystemd nixosHasPodmanDockerSocket;
|
|
|
|
};
|
|
|
|
})
|
2019-01-20 17:04:34 +01:00
|
|
|
(import ./overlay.nix)
|
|
|
|
];
|
2019-06-15 14:32:59 +02:00
|
|
|
inherit system;
|
2019-10-04 17:16:41 +02:00
|
|
|
})
|