mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-23 09:38:12 +03:00
18 lines
365 B
Nix
18 lines
365 B
Nix
{ sources ? import ./sources.nix
|
|
, nixpkgsName ? "nixos-19.09"
|
|
, nixpkgsSrc ? sources.${nixpkgsName}
|
|
, system ? builtins.currentSystem
|
|
, ...
|
|
}:
|
|
|
|
import nixpkgsSrc ({
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
config = {
|
|
};
|
|
overlays = [
|
|
# all the packages are defined there:
|
|
(import ./overlay.nix)
|
|
];
|
|
inherit system;
|
|
})
|