mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-26 21:27:28 +03:00
20 lines
435 B
Nix
20 lines
435 B
Nix
{ sources ? import ./sources.nix
|
|
, nixpkgsName ? "nixos-unstable"
|
|
, nixpkgsSrc ? sources.${nixpkgsName}
|
|
, system ? builtins.currentSystem
|
|
, nixosTestIsPerl ? false
|
|
, ...
|
|
}:
|
|
|
|
import nixpkgsSrc ({
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
config = {
|
|
};
|
|
overlays = [
|
|
# all the packages are defined there:
|
|
(_: _: { inherit nixosTestIsPerl; })
|
|
(import ./overlay.nix)
|
|
];
|
|
inherit system;
|
|
})
|