Skip to content

Commit

Permalink
dxx_rebirth: do not treat certain warnings as errors
Browse files Browse the repository at this point in the history
  • Loading branch information
peterhoeg committed Sep 16, 2019
1 parent e19054a commit fc81306
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pkgs/games/dxx-rebirth/default.nix
@@ -1,5 +1,5 @@
{ stdenv, fetchurl, fetchpatch, scons, pkgconfig
, SDL, SDL_mixer, libGLU_combined, physfs
, SDL, SDL_mixer, libGLU, physfs
}:

let
Expand Down Expand Up @@ -33,20 +33,20 @@ in stdenv.mkDerivation rec {

nativeBuildInputs = [ pkgconfig scons ];

buildInputs = [ libGLU_combined physfs SDL SDL_mixer ];
buildInputs = [ libGLU physfs SDL SDL_mixer ];

enableParallelBuilding = true;

NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral";
NIX_CFLAGS_COMPILE = "-Wno-format-nonliteral -Wno-error=useless-cast";

postInstall = ''
install -Dm644 ${music} $out/share/games/dxx-rebirth/d2xr-sc55-music.dxa
install -Dm644 ${music} $out/share/games/dxx-rebirth/${music.name}
install -Dm644 -t $out/share/doc/dxx-rebirth *.txt
'';

meta = with stdenv.lib; {
description = "Source Port of the Descent 1 and 2 engines";
homepage = https://www.dxx-rebirth.com/;
homepage = "https://www.dxx-rebirth.com/";
license = licenses.free;
maintainers = with maintainers; [ peterhoeg ];
platforms = with platforms; linux;
Expand Down

0 comments on commit fc81306

Please sign in to comment.