nix-samples/flake-multi-platform/README.md

30 lines
688 B
Markdown
Raw Normal View History

2024-03-17 17:33:12 +01:00
# flake-multi-platform
2024-03-19 07:46:33 +01:00
## Targets
2024-03-17 17:33:12 +01:00
```
> 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'
```
2024-03-19 07:46:33 +01:00
## Building
```
> nix build .
> nix build .#default
> nix build .#packages.x86_64-linux
```