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

authored by

Aleksana and committed by
GitHub
369ba484 5a4604a7

+7 -4
+5 -2
pkgs/by-name/po/pong3d/package.nix
··· 34 35 buildInputs = [ libX11 ]; 36 37 - makeFlags = [ "PREFIX=$(out)" ]; 38 39 meta = { 40 homepage = "http://www.newbreedsoftware.com/3dpong/"; 41 description = "One or two player 3d sports game based on Pong from Atari"; 42 license = lib.licenses.gpl2Plus; 43 - platforms = lib.platforms.linux; 44 }; 45 })
··· 34 35 buildInputs = [ libX11 ]; 36 37 + makeFlags = [ 38 + "PREFIX=$(out)" 39 + "CC=${stdenv.cc.targetPrefix}cc" # fix darwin and cross-compiled builds 40 + ]; 41 42 meta = { 43 homepage = "http://www.newbreedsoftware.com/3dpong/"; 44 description = "One or two player 3d sports game based on Pong from Atari"; 45 license = lib.licenses.gpl2Plus; 46 + platforms = lib.platforms.unix; 47 }; 48 })
+1 -1
pkgs/by-name/te/teetertorture/package.nix
··· 39 homepage = "http://www.newbreedsoftware.com/teetertorture/"; 40 description = "Simple shooting game with your cannon is sitting atop a teeter totter"; 41 license = lib.licenses.gpl2Plus; 42 - platforms = lib.platforms.linux; 43 mainProgram = "teetertorture"; 44 }; 45 }
··· 39 homepage = "http://www.newbreedsoftware.com/teetertorture/"; 40 description = "Simple shooting game with your cannon is sitting atop a teeter totter"; 41 license = lib.licenses.gpl2Plus; 42 + inherit (SDL.meta) platforms; 43 mainProgram = "teetertorture"; 44 }; 45 }
+1 -1
pkgs/by-name/ve/vectoroids/package.nix
··· 32 description = "Clone of the classic arcade game Asteroids by Atari"; 33 mainProgram = "vectoroids"; 34 license = lib.licenses.gpl2Plus; 35 - platforms = lib.platforms.linux; 36 }; 37 }
··· 32 description = "Clone of the classic arcade game Asteroids by Atari"; 33 mainProgram = "vectoroids"; 34 license = lib.licenses.gpl2Plus; 35 + inherit (SDL.meta) platforms; 36 }; 37 }