mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-11-25 22:15:59 +01:00
Debugging: add Meson & Nix instructions
This commit is contained in:
parent
aef204decd
commit
207c85a3fe
1 changed files with 19 additions and 0 deletions
|
@ -48,6 +48,25 @@ meaning you'll be unable to build any other wlroots compositor
|
|||
without a wlroots reinstall.
|
||||
{{< /hint >}}
|
||||
|
||||
### Meson
|
||||
|
||||
```console
|
||||
meson setup build -Dbuildtype=debug
|
||||
ninja -C build
|
||||
```
|
||||
|
||||
### Nix
|
||||
|
||||
To build the package in debug mode, you have to override it like this:
|
||||
|
||||
```nix
|
||||
hyprland.override {
|
||||
debug = true;
|
||||
};
|
||||
```
|
||||
|
||||
This code can go in the `package` attribute of the NixOS/Home Manager modules.
|
||||
|
||||
## Running
|
||||
|
||||
when running Hyprland in Debug mode, the config is
|
||||
|
|
Loading…
Reference in a new issue