From 910e728fb859f782c7d0a32d436861b0d3510228 Mon Sep 17 00:00:00 2001 From: yadokani389 Date: Mon, 30 Dec 2024 00:30:08 +0900 Subject: [PATCH] weylus: fix build on gcc14 --- pkgs/applications/graphics/weylus/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/graphics/weylus/default.nix b/pkgs/applications/graphics/weylus/default.nix index 264f34a8fe42..3aa61ec06d30 100644 --- a/pkgs/applications/graphics/weylus/default.nix +++ b/pkgs/applications/graphics/weylus/default.nix @@ -104,6 +104,12 @@ rustPlatform.buildRustPackage rec { install -vDm755 weylus.desktop $out/share/applications/weylus.desktop ''; + env = { + NIX_CFLAGS_COMPILE = toString [ + "-Wno-incompatible-pointer-types" + ]; + }; + meta = with lib; { broken = stdenv.hostPlatform.isDarwin; description = "Use your tablet as graphic tablet/touch screen on your computer";