mirror of
https://github.com/hyprwm/xdg-desktop-portal-hyprland.git
synced 2024-11-21 22:25:58 +01:00
nix: default meson build type to release
This commit is contained in:
parent
12441a3e0f
commit
3e44c36e76
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,7 @@
|
||||||
slurp,
|
slurp,
|
||||||
hyprland-protocols,
|
hyprland-protocols,
|
||||||
wayland,
|
wayland,
|
||||||
|
debug ? false,
|
||||||
version ? "git",
|
version ? "git",
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -28,6 +29,11 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
src = ../.;
|
src = ../.;
|
||||||
|
|
||||||
|
mesonBuildType =
|
||||||
|
if debug
|
||||||
|
then "debug"
|
||||||
|
else "release";
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
|
|
Loading…
Reference in a new issue