mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-12-20 03:30:02 +01:00
treewide: remove meson mention
counterpart to https://github.com/hyprwm/Hyprland/pull/12344
This commit is contained in:
parent
c4ed5af32c
commit
ca366ab182
4 changed files with 14 additions and 35 deletions
|
|
@ -35,13 +35,6 @@ breakpoint and it will crash after you continue out of it.
|
|||
|
||||
Attach and profile in your preferred way.
|
||||
|
||||
### 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:
|
||||
|
|
|
|||
|
|
@ -407,20 +407,6 @@ make all && sudo make install
|
|||
_CMake is always recommended as it's the intended way Hyprland should be
|
||||
installed._
|
||||
|
||||
### Meson
|
||||
|
||||
```sh
|
||||
meson subprojects update --reset
|
||||
meson setup build
|
||||
ninja -C build
|
||||
ninja -C build install --tags runtime,man
|
||||
```
|
||||
|
||||
Custom build flags can be found in [`meson_options.txt`](https://github.com/hyprwm/Hyprland/blob/main/meson_options.txt).
|
||||
|
||||
Refer to [Debugging](../../Contributing-and-Debugging) to see how to build &
|
||||
debug.
|
||||
|
||||
## Crash on launch
|
||||
|
||||
See [Crashes and Bugs](../../Crashes-and-Bugs).
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ A debug build is already provided through
|
|||
Most hyprwm apps also provide their own `-debug` versions. For those that don't,
|
||||
one can build the debug version from the CLI by using
|
||||
[overrideAttrs](../Options-Overrides/#using-nix-repl) with
|
||||
`cmakeBuildType = "debug";` or `mesonBuildType = "debug";`, depending on the
|
||||
`cmakeBuildType = "Debug";` or `mesonBuildType = "debug";`, depending on the
|
||||
program.
|
||||
|
||||
## Bisecting an issue
|
||||
|
|
@ -67,8 +67,8 @@ For CMake:
|
|||
|
||||
```bash
|
||||
cmakeConfigurePhase # to run the CMake configure phase
|
||||
ninjaBuildPhase # to run the Ninja build phase (or buildPhase when ninja is not available)
|
||||
ninjaInstallPhase # to run the Ninja install phase (or installPhase when ninja is not available)
|
||||
buildPhase # to run the build phase
|
||||
installPhase # to run the install phase
|
||||
```
|
||||
|
||||
For Meson:
|
||||
|
|
|
|||
|
|
@ -53,10 +53,10 @@ nix-repl> :bl outputs.packages.x86_64-linux.hyprland.override { /* flag here */
|
|||
|
||||
Then you can run Hyprland from the built path.
|
||||
You can also use `overrideAttrs` to override `mkDerivation`'s arguments, such as
|
||||
`mesonBuildType`:
|
||||
`cmakeBuildType`:
|
||||
|
||||
```nix
|
||||
$ nix repl
|
||||
nix-repl> :lf github:hyprwm/Hyprland
|
||||
nix-repl> :bl outputs.packages.x86_64-linux.hyprland.overrideAttrs (self: super: { mesonBuildType = "debug" })
|
||||
nix-repl> :bl outputs.packages.x86_64-linux.hyprland.overrideAttrs (self: super: { cmakeBuildType = "Debug" })
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue