1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 07:00:45 +00:00

Ladybird: Add ladybird.nix to nix flake in Toolchain/

Add another dev shell to `Toolchain/flake.nix` called `ladybird.nix`
that pulls in the dependencies for building Ladybird.

Also update the documentation to mention building with a flake.
This commit is contained in:
Ali Caglayan 2023-09-01 15:30:49 +01:00 committed by Andrew Kaster
parent 54265cec1c
commit 0347d04289
2 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,10 @@ On Nix/NixOS:
```
nix-shell ladybird.nix
```
You can also use the nix flake in `Toolchain`:
```
nix develop Toolchain/#ladybird
```
On macOS:

View File

@ -13,6 +13,7 @@
{
formatter = pkgs.nixpkgs-fmt;
devShells.default = import ./serenity.nix { inherit pkgs; };
devShells.ladybird = import ../Ladybird/ladybird.nix { inherit pkgs; };
}
);