tint2: fix build with gcc14 (#369100)

This commit is contained in:
Franz Pletz
2024-12-30 14:15:14 +01:00
committed by GitHub
+4 -1
View File
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
src = fetchFromGitLab {
owner = "nick87720z";
repo = "tint2";
rev = version;
tag = version;
hash = "sha256-9sEe/Gnj+FWLPbWBtfL1YlNNC12j7/KjQ40xdkaFJVQ=";
};
@@ -45,6 +45,9 @@ stdenv.mkDerivation rec {
})
];
# Fix build with gcc14
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.cc.isGNU "-Wno-error=incompatible-pointer-types";
nativeBuildInputs = [
pkg-config
cmake