asan in flake
This commit is contained in:
parent
565aa4b7eb
commit
18ca88a0d4
@ -55,12 +55,19 @@
|
||||
libsodium
|
||||
] ++ self.packages.${system}.default.dlopenBuildInputs;
|
||||
|
||||
cmakeFlags = [
|
||||
"TOMATO_ASAN=1"
|
||||
"CMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
];
|
||||
|
||||
# TODO: replace with install command
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
mv bin/tomato $out/bin
|
||||
'';
|
||||
|
||||
dontStrip = true;
|
||||
|
||||
# copied from nixpkgs's SDL2 default.nix
|
||||
# SDL is weird in that instead of just dynamically linking with
|
||||
# libraries when you `--enable-*` (or when `configure` finds) them
|
||||
|
@ -520,6 +520,7 @@ void ChatGui4::render(float time_delta) {
|
||||
//} else if (ImGui::IsItemClicked(ImGuiMouseButton_Right)) {
|
||||
} else if (ImGui::BeginPopupContextItem(nullptr, ImGuiMouseButton_Right)) {
|
||||
const static std::vector<const char*> image_mime_types {
|
||||
// add apng?
|
||||
"image/png",
|
||||
"image/webp",
|
||||
"image/gif",
|
||||
|
Loading…
Reference in New Issue
Block a user