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

This commit is contained in:
Rexiel Scarlet 2025-12-13 11:39:37 +04:00 committed by DreamMaoMao
parent 06942f16ff
commit ae29dab2a3

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 = [