2023-03-14 15:18:19 +05:30
|
|
|
{
|
2023-05-27 23:15:28 +05:30
|
|
|
inputs,
|
2023-03-14 15:18:19 +05:30
|
|
|
self,
|
2023-05-27 23:15:28 +05:30
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [
|
|
|
|
./dev.nix
|
|
|
|
./distribution.nix
|
|
|
|
];
|
2022-01-08 13:03:26 +05:30
|
|
|
|
2023-05-27 23:15:28 +05:30
|
|
|
_module.args = {
|
|
|
|
# User-friendly version number.
|
|
|
|
version = builtins.substring 0 8 self.lastModifiedDate;
|
|
|
|
};
|
2022-01-09 11:38:39 +05:30
|
|
|
|
2023-05-27 23:15:28 +05:30
|
|
|
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 13:03:26 +05:30
|
|
|
|
2023-05-27 23:15:28 +05:30
|
|
|
# Supported systems.
|
|
|
|
systems = [
|
|
|
|
"x86_64-linux"
|
|
|
|
"x86_64-darwin"
|
|
|
|
"aarch64-linux"
|
|
|
|
# Disabled due to qtbase being currently broken for "aarch64-darwin."
|
|
|
|
# "aarch64-darwin"
|
2023-04-02 15:03:04 +05:30
|
|
|
];
|
2022-01-09 00:25:19 +05:30
|
|
|
}
|