mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-02-04 04:06:21 -05:00
feat(nix): support debug override for setting asan opt
This commit is contained in:
parent
1d79b10437
commit
20a0905ba7
1 changed files with 2 additions and 0 deletions
|
|
@ -19,6 +19,7 @@
|
||||||
wlroots_0_19,
|
wlroots_0_19,
|
||||||
libGL,
|
libGL,
|
||||||
enableXWayland ? true,
|
enableXWayland ? true,
|
||||||
|
debug ? false,
|
||||||
}:
|
}:
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "mango";
|
pname = "mango";
|
||||||
|
|
@ -31,6 +32,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
(lib.mesonEnable "xwayland" enableXWayland)
|
(lib.mesonEnable "xwayland" enableXWayland)
|
||||||
|
(lib.mesonBool "asan" debug)
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue