30 lines
688 B
Markdown
30 lines
688 B
Markdown
# flake-multi-platform
|
|
|
|
## Targets
|
|
|
|
```
|
|
> nix build
|
|
...
|
|
|
|
> nix flake show
|
|
warning: Git tree '/home/mycroft/dev/nix-samples' is dirty
|
|
git+file:///home/mycroft/dev/nix-samples?dir=flake-multi-platform
|
|
└───packages
|
|
├───aarch64-darwin
|
|
│ └───default omitted (use '--all-systems' to show)
|
|
├───aarch64-linux
|
|
│ └───default omitted (use '--all-systems' to show)
|
|
├───x86_64-darwin
|
|
│ └───default omitted (use '--all-systems' to show)
|
|
└───x86_64-linux
|
|
└───default: package 'simple'
|
|
```
|
|
|
|
## Building
|
|
|
|
```
|
|
> nix build .
|
|
> nix build .#default
|
|
> nix build .#packages.x86_64-linux
|
|
```
|