Skip to content

Commit

Permalink
openttd: Add XDG support (#89296)
Browse files Browse the repository at this point in the history
  • Loading branch information
SFrijters committed Jun 1, 2020
1 parent 59aacec commit 46fcaf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/games/openttd/default.nix
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig
{ stdenv, fetchurl, fetchzip, pkgconfig, SDL2, libpng, zlib, xz, freetype, fontconfig, libxdg_basedir
, withOpenGFX ? true, withOpenSFX ? true, withOpenMSX ? true
, withFluidSynth ? true, audioDriver ? "alsa", fluidsynth, soundfont-fluid, procps
, writeScriptBin, makeWrapper, runtimeShell
Expand Down Expand Up @@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
};

nativeBuildInputs = [ pkgconfig makeWrapper ];
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig ]
buildInputs = [ SDL2 libpng xz zlib freetype fontconfig libxdg_basedir ]
++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ];

prefixKey = "--prefix-dir=";
Expand Down

0 comments on commit 46fcaf3

Please sign in to comment.