mirror of
https://github.com/yshui/picom.git
synced 2025-04-14 17:53:25 -04:00
flake: set some options for sanitizers
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
270bcc45ac
commit
8dcf23f290
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue