mirror of https://github.com/yshui/picom.git
flake: set some options for sanitizers
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
270bcc45ac
commit
8dcf23f290
|
@ -59,6 +59,8 @@
|
|||
# Workaround a NixOS limitation on sanitizers:
|
||||
# See: https://github.com/NixOS/nixpkgs/issues/287763
|
||||
export LD_LIBRARY_PATH+=":/run/opengl-driver/lib"
|
||||
export UBSAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1"
|
||||
export ASAN_OPTIONS="disable_coredump=0:unmap_shadow_on_exit=1"
|
||||
'';
|
||||
});
|
||||
in rec {
|
||||
|
|
Loading…
Reference in New Issue