mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-26 10:05:39 +03:00
20 lines
401 B
Nix
20 lines
401 B
Nix
/**
|
|
* This is the entry-point for all nix execution in this project.
|
|
*/
|
|
{ nixpkgsSrc ? ./nixpkgs.nix
|
|
, system ? null
|
|
, ...
|
|
}:
|
|
|
|
import (import ./nixpkgs.nix) ({
|
|
# Makes the config pure as well. See <nixpkgs>/top-level/impure.nix:
|
|
config = {
|
|
};
|
|
overlays = [
|
|
# all the packages are defined there:
|
|
(import ./overlay.nix)
|
|
];
|
|
} // (if system == null then {} else {
|
|
inherit system;
|
|
}))
|