supermodel: 0-unstable-2025-04-17 -> 0-unstable-2026-03-01; fix build with GCC 15 (#516741)

This commit is contained in:
Moritz Sanft
2026-05-05 07:13:27 +00:00
committed by GitHub
+7 -2
View File
@@ -11,15 +11,20 @@
stdenv.mkDerivation {
pname = "supermodel";
version = "0-unstable-2025-04-17";
version = "0-unstable-2026-03-01";
src = fetchFromGitHub {
owner = "trzy";
repo = "supermodel";
rev = "2272893a0511c0b3b50f6dda64addb7014717dd3";
rev = "d6dec3dcf0922459801907950d966e5767c674de";
hash = "sha256-3FdLBGxmi4Xj7ao2nvjLleJSTXvKQrhUWvnQr8DK/RY=";
};
# Game.h is missing #include <cstdint>, which GCC 15 no longer provides transitively.
postPatch = ''
sed -i '/^#include <memory>/a #include <cstdint>' Src/Game.h
'';
buildInputs = [
libGLU
SDL2