add `defaultSystems` examples (#3)
This commit is contained in:
parent
214c4471b5
commit
f99f597082
|
@ -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)`
|
||||
|
||||
|
|
Loading…
Reference in New Issue