Simplify function (#2903)
This commit is contained in:
parent
8ec13d33b1
commit
93a69d0738
|
@ -7,8 +7,7 @@
|
|||
supportedSystems = with nixpkgs.lib.platforms; linux ++ darwin;
|
||||
|
||||
# Function to generate a set based on supported systems
|
||||
forAllSystems = f:
|
||||
nixpkgs.lib.genAttrs supportedSystems (system: f system);
|
||||
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
|
||||
|
||||
nixpkgsFor = forAllSystems (system: import nixpkgs { inherit system; });
|
||||
in rec {
|
||||
|
|
Loading…
Reference in a new issue