2023-03-14 09:48:19 +00:00
|
|
|
{
|
2023-05-27 18:45:28 +01:00
|
|
|
inputs,
|
2023-03-14 09:48:19 +00:00
|
|
|
self,
|
2023-05-27 18:45:28 +01:00
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./dev.nix
|
|
|
|
./distribution.nix
|
|
|
|
];
|
2022-01-08 07:33:26 +00:00
|
|
|
|
2023-05-27 18:45:28 +01:00
|
|
|
_module.args = {
|
|
|
|
# User-friendly version number.
|
|
|
|
version = builtins.substring 0 8 self.lastModifiedDate;
|
|
|
|
};
|
2022-01-09 06:08:39 +00:00
|
|
|
|
2023-05-27 18:45:28 +01:00
|
|
|
perSystem = {system, ...}: {
|
|
|
|
# Nixpkgs instantiated for supported systems with our overlay.
|
|
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
overlays = [self.overlays.default];
|
|
|
|
};
|
|
|
|
};
|
2022-01-08 07:33:26 +00:00
|
|
|
|
2023-05-27 18:45:28 +01:00
|
|
|
# Supported systems.
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"aarch64-linux"
|
2023-07-26 19:47:47 +01:00
|
|
|
# Disabled due to our packages not supporting darwin yet.
|
|
|
|
# "x86_64-darwin"
|
2023-05-27 18:45:28 +01:00
|
|
|
# "aarch64-darwin"
|
2023-04-02 10:33:04 +01:00
|
|
|
];
|
2022-01-08 18:55:19 +00:00
|
|
|
}
|