linuxPackages.shufflecake: 0.5.1 -> 0.5.2; fix build with gcc 14 (#410642)

This commit is contained in:
Aleksana
2025-06-22 17:57:16 +08:00
committed by GitHub
@@ -9,13 +9,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
name = "shufflecake";
version = "0.5.1";
version = "0.5.2";
src = fetchFromGitea {
domain = "codeberg.org";
owner = "shufflecake";
repo = "shufflecake-c";
rev = "v${finalAttrs.version}";
hash = "sha256-ULRx+WEz7uQ1C0JDaXORo6lmiwBAwD20j/XP92YE/K0=";
hash = "sha256-EF9VKaqcNJt3hd/CUT+QeW17tc5ByStDanGGwi4uL4s=";
};
nativeBuildInputs = kernel.moduleBuildDependencies;
@@ -27,6 +27,9 @@ stdenv.mkDerivation (finalAttrs: {
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
];
# GCC 14 makes this an error by default, remove when fixed upstream
env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types";
outputs = [
"out"
"bin"