mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
Simplify function (#2903)
This commit is contained in:
parent
8ec13d33b1
commit
93a69d0738
1 changed files with 1 additions and 2 deletions
|
@ -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