2019-10-04 17:37:39 +03:00
|
|
|
{ sources ? import ./sources.nix
|
2020-03-02 13:13:47 +03:00
|
|
|
, nixpkgsName ? "nixos-20.03"
|
2019-10-24 20:36:58 +03:00
|
|
|
, nixpkgsSrc ? sources.${nixpkgsName}
|
2019-10-04 18:16:41 +03:00
|
|
|
, system ? builtins.currentSystem
|
2020-03-02 13:13:47 +03:00
|
|
|
, nixosTestIsPerl ? false
|
2019-06-15 15:32:59 +03:00
|
|
|
, ...
|
|
|
|
}:
|
|
|
|
|
2019-10-04 17:37:39 +03:00
|
|
|
import nixpkgsSrc ({
|
2019-01-20 19:04:34 +03:00
|
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
|
|
config = {
|
|
|
|
};
|
|
|
|
overlays = [
|
|
|
|
# all the packages are defined there:
|
2020-03-02 13:13:47 +03:00
|
|
|
(_: _: { inherit nixosTestIsPerl; })
|
2019-01-20 19:04:34 +03:00
|
|
|
(import ./overlay.nix)
|
|
|
|
];
|
2019-06-15 15:32:59 +03:00
|
|
|
inherit system;
|
2019-10-04 18:16:41 +03:00
|
|
|
})
|