1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-19 17:39:34 +00:00

Adding missing unistd.h includes

This commit is contained in:
Michael Raskin 2014-02-02 15:03:22 +04:00
parent 559f5be07d
commit e4c64d1e17

View file

@ -10,6 +10,10 @@ stdenv.mkDerivation rec {
buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ]; buildInputs = [ SDL mesa SDL_image freealut openal libvorbis pkgconfig ];
postPatch = ''
sed -e '1i#include <unistd.h>' -i $(find . -name '*.c' -o -name '*.cpp')
'';
meta = { meta = {
homepage = http://www.ultimatestunts.nl/; homepage = http://www.ultimatestunts.nl/;
description = "Remake of the popular racing DOS-game Stunts"; description = "Remake of the popular racing DOS-game Stunts";