mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:17:45 +00:00
Toolchain: Add nix flake
Add a nix flake to `Toolchain/` that wraps the existing nix derivation `Toolchain/serenity.nix`. This also comes with a lockfile making the nix developer enviornment setup more reproducible. We also update the documentation for "other builds" to mention the flake.
This commit is contained in:
parent
4641af7873
commit
47e0ea8e42
3 changed files with 86 additions and 0 deletions
|
@ -33,6 +33,12 @@ You can use the `nix-shell` script [`Toolchain/serenity.nix`](../Toolchain/seren
|
|||
nix-shell Toolchain/serenity.nix
|
||||
```
|
||||
|
||||
or you can use the nix flake [`Toolchain/flake.nix`](../Toolchain/serenity.nix) instead:
|
||||
|
||||
```console
|
||||
nix develop Toolchain
|
||||
```
|
||||
|
||||
## Alpine Linux
|
||||
|
||||
First, make sure you have enabled the `community` repository in `/etc/apk/repositories` and run `apk update`. It has been tested on `edge`, YMMV on `stable`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue