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