nix: default meson build type to release

This commit is contained in:
André Silva 2023-10-30 18:40:25 +00:00 committed by Mihai Fufezan
parent 12441a3e0f
commit 3e44c36e76

View file

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