Debugging: add Meson & Nix instructions

This commit is contained in:
Mihai Fufezan 2023-09-04 22:30:00 +03:00
parent aef204decd
commit 207c85a3fe
No known key found for this signature in database
1 changed files with 19 additions and 0 deletions

View File

@ -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