mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-24 02:01:18 +07:00
wiki: Warn against --all-features in getting started
This commit is contained in:
@@ -95,6 +95,12 @@ Then, build niri with `cargo build --release`.
|
||||
Check Cargo.toml for a list of build features.
|
||||
For example, you can replace systemd integration with dinit integration using `cargo build --release --no-default-features --features dinit,dbus,xdp-gnome-screencast`.
|
||||
|
||||
> [!WARNING]
|
||||
> Do NOT build with `--all-features`!
|
||||
>
|
||||
> Some features are meant only for development use.
|
||||
> For example, one of the features enables collection of profiling data into a memory buffer that will grow indefinitely until you run out of memory.
|
||||
|
||||
### NixOS/Nix
|
||||
|
||||
We have a community-maintained flake which provides a devshell with required dependencies. Use `nix build` to build niri, and then run `./results/bin/niri`.
|
||||
|
||||
Reference in New Issue
Block a user