3dpong, vectoroids, teetertorture: fix darwin builds (#422140)

This commit is contained in:
Aleksana
2025-07-04 11:19:56 +08:00
committed by GitHub
3 changed files with 7 additions and 4 deletions
+5 -2
View File
@@ -34,12 +34,15 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ libX11 ];
makeFlags = [ "PREFIX=$(out)" ];
makeFlags = [
"PREFIX=$(out)"
"CC=${stdenv.cc.targetPrefix}cc" # fix darwin and cross-compiled builds
];
meta = {
homepage = "http://www.newbreedsoftware.com/3dpong/";
description = "One or two player 3d sports game based on Pong from Atari";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
platforms = lib.platforms.unix;
};
})
+1 -1
View File
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
homepage = "http://www.newbreedsoftware.com/teetertorture/";
description = "Simple shooting game with your cannon is sitting atop a teeter totter";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
inherit (SDL.meta) platforms;
mainProgram = "teetertorture";
};
}
+1 -1
View File
@@ -32,6 +32,6 @@ stdenv.mkDerivation rec {
description = "Clone of the classic arcade game Asteroids by Atari";
mainProgram = "vectoroids";
license = lib.licenses.gpl2Plus;
platforms = lib.platforms.linux;
inherit (SDL.meta) platforms;
};
}