Skip to content
Permalink
Browse files

dxx_rebirth: do not treat certain warnings as errors

  • Loading branch information
peterhoeg committed Sep 16, 2019
1 parent e19054a commit fc813060a43e26dc81b6c1f433e1cd686a6e22ee
Showing with 5 additions and 5 deletions.
  1. +5 −5 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
@@ -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;

0 comments on commit fc81306

Please sign in to comment.
You can’t perform that action at this time.