arion/nix/default.nix

24 lines
553 B
Nix
Raw Normal View History

2019-10-04 17:37:39 +03:00
{ sources ? import ./sources.nix
, nixpkgsName ? "nixos-unstable" # match ./ci.nix isReferenceNixpkgs
2019-10-24 20:36:58 +03:00
, nixpkgsSrc ? sources.${nixpkgsName}
2019-10-04 18:16:41 +03:00
, system ? builtins.currentSystem
, dockerSupportsSystemd ? false
, nixosHasPodmanDockerSocket ? true
2019-06-15 15:32:59 +03:00
, ...
}:
2019-10-04 17:37:39 +03:00
import nixpkgsSrc ({
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
config = {
};
overlays = [
(_: _: {
arionTestingFlags = {
2021-05-26 21:58:59 +03:00
inherit dockerSupportsSystemd nixosHasPodmanDockerSocket;
};
})
(import ./overlay.nix)
];
2019-06-15 15:32:59 +03:00
inherit system;
2019-10-04 18:16:41 +03:00
})