Skip to content

Commit 6ff0ae4

Browse files
authored
fix: use nixpkgs.lib.genAttrs for systems
1 parent 9461840 commit 6ff0ae4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

flake.nix

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,11 @@
1414
};
1515

1616
outputs = { self, nixpkgs, systems, ... }@inputs: let
17-
# Systems to access its lib
18-
sysLib = import systems { inherit inputs; };
19-
2017
# Supported systems
2118
supportedSystems = [ "x86_64-linux" ];
2219

2320
# Helper to generate per-system attributes
24-
eachSystem = sysLib.genAttrs supportedSystems;
21+
eachSystem = nixpkgs.lib.genAttrs supportedSystems;
2522

2623
# Package set with overlays and config
2724
mkPkgs = system:

0 commit comments

Comments
 (0)