nix-samples/flake-multi-platform
2024-03-19 07:46:33 +01:00
..
flake.lock Initial commit 2024-03-17 17:33:12 +01:00
flake.nix Initial commit 2024-03-17 17:33:12 +01:00
README.md Adding more flakes samples 2024-03-19 07:46:33 +01:00

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