Yuxuan Shui
51edc1bc55
flake: enable abort_on_error for ASan
...
So we get a coredump which we can inspect.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-28 18:15:39 +01:00
Yuxuan Shui
12fbcb0c0f
flake: set UBSAN_OPTIONS so it's visible by default
...
Looks like a lot of ubsan violations are silent if neither
print_stacktrace nor abort_on_error is enabled.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-28 18:11:35 +01:00
Yuxuan Shui
5b5174bc52
flake: filter out libXext from buildInputs
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-26 11:35:37 +01:00
Yuxuan Shui
5d3640b79c
flake: specify a url for nixpkgs
...
nix-direnv keeps picking up nixpkgs from my local nix registry, which is
super annoying because I have to manually ignore the change every time I
use git.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-26 11:29:51 +01:00
Yuxuan Shui
8dcf23f290
flake: set some options for sanitizers
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-06-04 01:27:54 +01:00
Yuxuan Shui
e5210aea7b
flake: add a dev shell that has frame pointers
...
Helps tremendously with getting stack trace from ASan, etc.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-04-08 09:42:51 +01:00
Yuxuan Shui
5df19aed20
flake: add dbus-next python module
...
For running test cases.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-03-24 13:17:03 +00:00
Yuxuan Shui
23e4c68069
flake: add python packages for running the test suite
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-18 23:45:41 +00:00
Yuxuan Shui
336943d99c
flake: some improvements
...
Development tools should be nativeBuildInputs. Also added a clang
version of the dev shell.
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-18 23:16:33 +00:00
Lenivaya
42782689e8
chore: deduplication and reformat of flake.nix
2024-02-15 14:18:11 +01:00
Lenivaya
216bfefd9f
fix: add libepoxy to default nix overlay
2024-02-15 14:18:11 +01:00
Yuxuan Shui
fcd51e7373
build: add libepoxy
...
Add libepoxy dependency to CI manifest and Nix.
For Nix, we need to set shellHook to workaround a NixOS limitation, see:
https://github.com/NixOS/nixpkgs/issues/287763
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-02-10 20:35:24 +00:00
Yuxuan Shui
702e30df4a
Update nix flake
...
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-01-22 16:51:41 +00:00
Ivan Malison
71782da245
Add nix flake
2023-08-06 17:51:18 -06:00