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 nix-shell ladybird.nix
``` ```
You can also use the nix flake in `Toolchain`:
```
nix develop Toolchain/#ladybird
```
On macOS: On macOS:

View file

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