diff --git a/pkgs/games/zandronum/default.nix b/pkgs/games/zandronum/default.nix index 27ba69ad82b..73ce80c5f39 100644 --- a/pkgs/games/zandronum/default.nix +++ b/pkgs/games/zandronum/default.nix @@ -24,6 +24,8 @@ in stdenv.mkDerivation { preConfigure = '' ln -s ${sqlite-amalgamation}/* sqlite/ + sed -ie 's| restrict| _restrict|g' dumb/include/dumb.h \ + dumb/src/it/*.c ''; cmakeFlags =