tint2: fix build with gcc14 (#369100)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user