add `defaultSystems` examples (#3)

This commit is contained in:
Jörg Thalheim 2020-07-21 12:58:06 +01:00 committed by GitHub
parent 214c4471b5
commit f99f597082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -13,6 +13,11 @@ flakes.
### `defaultSystems -> [<system>]`
A list of all the systems supported by the nixpkgs project.
Useful if you want add additional platforms:
```nix
eachSystem (defaultSystems ++ ["armv7l-linux"]) (system: { hello = 42; })
```
### `eachSystem -> [<system>] -> (<system> -> attrs)`