Skip to content

Commit

Permalink
nix: default meson build type to release
Browse files Browse the repository at this point in the history
  • Loading branch information
andresilva authored and fufexan committed Oct 30, 2023
1 parent 12441a3 commit 3e44c36
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nix/default.nix
Expand Up @@ -20,6 +20,7 @@
slurp,
hyprland-protocols,
wayland,
debug ? false,
version ? "git",
}:
stdenv.mkDerivation {
Expand All @@ -28,6 +29,11 @@ stdenv.mkDerivation {

src = ../.;

mesonBuildType =
if debug
then "debug"
else "release";

nativeBuildInputs = [
meson
ninja
Expand Down

0 comments on commit 3e44c36

Please sign in to comment.