mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 10:36:24 +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:
parent
54265cec1c
commit
0347d04289
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -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; };
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue