feat(nix): support debug override for setting asan opt

This commit is contained in:
Rexiel Scarlet
2025-12-13 11:39:37 +04:00
parent 1d79b10437
commit 20a0905ba7

View File

@@ -19,6 +19,7 @@
wlroots_0_19,
libGL,
enableXWayland ? true,
debug ? false,
}:
stdenv.mkDerivation {
pname = "mango";
@@ -31,6 +32,7 @@ stdenv.mkDerivation {
mesonFlags = [
(lib.mesonEnable "xwayland" enableXWayland)
(lib.mesonBool "asan" debug)
];
nativeBuildInputs = [