remove systems dependency

This commit is contained in:
2026-08-01 13:48:00 -04:00
parent f34ab96ef8
commit 132c6ee5c3
2 changed files with 14 additions and 26 deletions
+7 -3
View File
@@ -3,7 +3,6 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
systems.url = "github:nix-systems/default";
nixos-hardware = {
url = "github:NixOS/nixos-hardware";
@@ -46,12 +45,17 @@
self,
nixpkgs,
pre-commit-hooks,
systems,
...
}@inputs:
let
systems = [
"aarch64-darwin"
"aarch64-linux"
"x86_64-linux"
];
forAllSystems =
fn: nixpkgs.lib.genAttrs (import systems) (system: fn system nixpkgs.legacyPackages.${system});
fn: nixpkgs.lib.genAttrs systems (system: fn system nixpkgs.legacyPackages.${system});
in
{
checks = forAllSystems (