mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-23 09:38:12 +03:00
24 lines
517 B
Nix
24 lines
517 B
Nix
{ sources ? import ./sources.nix
|
|
, nixpkgsName ? "nixos-unstable"
|
|
, nixpkgsSrc ? sources.${nixpkgsName}
|
|
, system ? builtins.currentSystem
|
|
, dockerSupportsSystemd ? false
|
|
, nixosHasPodmanDockerSocket ? true
|
|
, ...
|
|
}:
|
|
|
|
import nixpkgsSrc ({
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
config = {
|
|
};
|
|
overlays = [
|
|
(_: _: {
|
|
arionTestingFlags = {
|
|
inherit dockerSupportsSystemd nixosHasPodmanDockerSocket;
|
|
};
|
|
})
|
|
(import ./overlay.nix)
|
|
];
|
|
inherit system;
|
|
})
|