mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-02 04:20:28 +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
Notes:
sideshowbarker
2024-07-16 23:23:26 +09:00
Author: https://github.com/Alizter Commit: https://github.com/SerenityOS/serenity/commit/0347d04289 Pull-request: https://github.com/SerenityOS/serenity/pull/20890
2 changed files with 5 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
{
|
||||
formatter = pkgs.nixpkgs-fmt;
|
||||
devShells.default = import ./serenity.nix { inherit pkgs; };
|
||||
devShells.ladybird = import ../Ladybird/ladybird.nix { inherit pkgs; };
|
||||
}
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue