arion/nix/default.nix

26 lines
590 B
Nix
Raw Normal View History

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
, nixosTestIsPerl ? false
, dockerSupportsSystemd ? false
, nixosHasPodmanDockerSocket ? true
2019-06-15 14:32:59 +02:00
, ...
}:
2019-10-04 16:37:39 +02:00
import nixpkgsSrc ({
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
config = {
};
overlays = [
(_: _: {
inherit nixosTestIsPerl;
arionTestingFlags = {
inherit nixosTestIsPerl dockerSupportsSystemd nixosHasPodmanDockerSocket;
};
})
(import ./overlay.nix)
];
2019-06-15 14:32:59 +02:00
inherit system;
2019-10-04 17:16:41 +02:00
})