File tree Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Expand file tree Collapse file tree 2 files changed +22
-7
lines changed Original file line number Diff line number Diff line change @@ -34,13 +34,22 @@ On openSUSE:
34
34
sudo zypper install cmake libglvnd-devel ninja qt6-base-devel qt6-multimedia-devel qt6-tools-devel qt6-wayland-devel ccache
35
35
```
36
36
37
- On Nix/NixOS:
38
- ```
39
- nix-shell ladybird.nix
37
+ On Nix/NixOS (using your host nixpkgs):
38
+ ``` bash
39
+ # From /path/to/serenity
40
+ nix-shell Ladybird/ladybird.nix
41
+
42
+ # With a custom entrypoint, for example your favorite shell
43
+ nix-shell --command bash Ladybird/ladybird.nix
40
44
```
45
+
41
46
You can also use the nix flake in ` Toolchain ` :
42
- ```
43
- nix develop Toolchain/#ladybird
47
+ ``` bash
48
+ # From /path/to/serenity
49
+ nix develop ./Toolchain#ladybird
50
+
51
+ # With a custom entrypoint, for example your favorite shell
52
+ nix develop ./Toolchain#ladybird --command bash
44
53
```
45
54
46
55
On macOS:
Original file line number Diff line number Diff line change @@ -27,16 +27,22 @@ apt-get install curl cmake libmpc-devel gmp-devel e2fsprogs libmpfr-devel ninja-
27
27
28
28
## NixOS
29
29
30
- You can use the ` nix-shell ` script [ ` Toolchain/serenity.nix ` ] ( ../Toolchain/serenity.nix ) to set up the environment:
30
+ You can use the ` nix-shell ` script [ ` Toolchain/serenity.nix ` ] ( ../Toolchain/serenity.nix ) to set up the environment (using your host nixpkgs) :
31
31
32
32
``` console
33
33
nix-shell Toolchain/serenity.nix
34
+
35
+ # With a custom entrypoint, for example your favorite shell
36
+ nix-shell --command bash Toolchain/serenity.nix
34
37
```
35
38
36
39
or you can use the nix flake [ ` Toolchain/flake.nix ` ] ( ../Toolchain/flake.nix ) instead:
37
40
38
41
``` console
39
- nix develop Toolchain
42
+ nix develop ./Toolchain#
43
+
44
+ # With a custom entrypoint, for example your favorite shell
45
+ nix develop ./Toolchain# --command bash
40
46
```
41
47
42
48
You can also save this environment to a profile:
You can’t perform that action at this time.
0 commit comments