diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-10-01 23:38:06 +0300 |
---|---|---|
committer | Tuomas Tynkkynen <tuomas@tuxera.com> | 2016-10-01 23:38:06 +0300 |
commit | 5bf5de58ea568b733d7399233f4d661f911c742d (patch) | |
tree | eb0614162926a8e103a59e87284d759139c8aed7 /pkgs/games/openttd/default.nix | |
parent | c61cc2d56cb1f790c1921c18deaf6d6c33d5627f (diff) | |
download | nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.tar nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.tar.gz nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.tar.bz2 nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.tar.lz nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.tar.xz nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.tar.zst nixpkgs-5bf5de58ea568b733d7399233f4d661f911c742d.zip |
treewide: Fix 'lib.optional' misuses
These add a singleton list of a package to buildInputs.
Diffstat (limited to 'pkgs/games/openttd/default.nix')
-rw-r--r-- | pkgs/games/openttd/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/games/openttd/default.nix b/pkgs/games/openttd/default.nix index c40337d54f5..0c129f8d556 100644 --- a/pkgs/games/openttd/default.nix +++ b/pkgs/games/openttd/default.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig makeWrapper ]; buildInputs = [ SDL libpng xz zlib freetype fontconfig ] - ++ stdenv.lib.optional withFluidSynth [ fluidsynth soundfont-fluid ]; + ++ stdenv.lib.optionals withFluidSynth [ fluidsynth soundfont-fluid ]; prefixKey = "--prefix-dir="; |