diff options
author | volth <volth@volth.com> | 2018-07-21 00:44:44 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2018-07-21 02:48:04 +0000 |
commit | 52f53c69ce6dbc5538f7e4cd22f9d93baf1f64a2 (patch) | |
tree | 2519a24bfee83cad4268e77ac180c84cb4036ed7 /pkgs/games | |
parent | 1a6af9f88ec2405334a9fd6a977ccbcb53472305 (diff) |
pkgs/*: remove unreferenced function arguments
Diffstat (limited to 'pkgs/games')
36 files changed, 37 insertions, 41 deletions
diff --git a/pkgs/games/0ad/game.nix b/pkgs/games/0ad/game.nix index 0cf1b6f5e6710..d05f19d3171cb 100644 --- a/pkgs/games/0ad/game.nix +++ b/pkgs/games/0ad/game.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, callPackage, perl, fetchurl, python2 +{ stdenv, lib, perl, fetchurl, python2 , pkgconfig, spidermonkey_38, boost, icu, libxml2, libpng, libsodium , libjpeg, zlib, curl, libogg, libvorbis, enet, miniupnpc , openal, libGLU_combined, xproto, libX11, libXcursor, nspr, SDL2 diff --git a/pkgs/games/90secondportraits/default.nix b/pkgs/games/90secondportraits/default.nix index 0ada8d64685dc..f2be128fd9989 100644 --- a/pkgs/games/90secondportraits/default.nix +++ b/pkgs/games/90secondportraits/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unzip, love, lua, makeWrapper, makeDesktopItem }: +{ stdenv, fetchurl, love, lua, makeWrapper, makeDesktopItem }: let pname = "90secondportraits"; diff --git a/pkgs/games/commandergenius/default.nix b/pkgs/games/commandergenius/default.nix index 70413f0f941b6..2abc46690e944 100644 --- a/pkgs/games/commandergenius/default.nix +++ b/pkgs/games/commandergenius/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, SDL2, SDL2_image, pkgconfig +{ stdenv, fetchFromGitHub, SDL2, SDL2_image, pkgconfig , libvorbis, libGL, boost, cmake, zlib, curl, SDL2_mixer, python3 }: diff --git a/pkgs/games/dwarf-fortress/default.nix b/pkgs/games/dwarf-fortress/default.nix index d9a5df73f17cc..cb75b6802702e 100644 --- a/pkgs/games/dwarf-fortress/default.nix +++ b/pkgs/games/dwarf-fortress/default.nix @@ -1,4 +1,4 @@ -{ pkgs, stdenv, stdenvNoCC, buildEnv, gccStdenv, lib, recurseIntoAttrs }: +{ pkgs, stdenv, stdenvNoCC, gccStdenv, lib, recurseIntoAttrs }: # To whomever it may concern: # @@ -60,9 +60,7 @@ let legends-browser = callPackage ./legends-browser {}; twbt = callPackage ./twbt {}; - themes = recurseIntoAttrs (callPackage ./themes { - stdenv = stdenvNoCC; - }); + themes = recurseIntoAttrs (callPackage ./themes { }); # aliases phoebus-theme = themes.phoebus; diff --git a/pkgs/games/dwarf-fortress/dfhack/default.nix b/pkgs/games/dwarf-fortress/dfhack/default.nix index baad45298441f..f781b0a71de35 100644 --- a/pkgs/games/dwarf-fortress/dfhack/default.nix +++ b/pkgs/games/dwarf-fortress/dfhack/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildEnv, hostPlatform, lib, fetchurl, fetchFromGitHub, cmake, writeScriptBin, callPackage +{ stdenv, buildEnv, lib, fetchFromGitHub, cmake, writeScriptBin , perl, XMLLibXML, XMLLibXSLT, zlib , enableStoneSense ? false, allegro5, libGLU_combined , enableTWBT ? true, twbt diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix index 5e92bbb285b82..4236d6bab989f 100644 --- a/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix +++ b/pkgs/games/dwarf-fortress/dwarf-therapist/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, coreutils, qtbase +{ stdenv, fetchFromGitHub, qtbase , qtdeclarative, cmake, texlive, ninja }: stdenv.mkDerivation rec { diff --git a/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix b/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix index 54f0f0405ac5d..322a21ec3ad97 100644 --- a/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix +++ b/pkgs/games/dwarf-fortress/dwarf-therapist/wrapper.nix @@ -1,4 +1,4 @@ -{ stdenv, symlinkJoin, lib, dwarf-therapist, dwarf-fortress, makeWrapper }: +{ stdenv, symlinkJoin, dwarf-therapist, dwarf-fortress, makeWrapper }: let platformSlug = if stdenv.targetPlatform.is32bit then diff --git a/pkgs/games/dwarf-fortress/lazy-pack.nix b/pkgs/games/dwarf-fortress/lazy-pack.nix index 3aa9e573f61df..3e0d3dcc6d73a 100644 --- a/pkgs/games/dwarf-fortress/lazy-pack.nix +++ b/pkgs/games/dwarf-fortress/lazy-pack.nix @@ -1,4 +1,4 @@ -{ stdenvNoCC, lib, buildEnv, callPackage +{ stdenvNoCC, lib, buildEnv , dwarf-fortress, themes # This package should, at any given time, provide an opinionated "optimal" # DF experience. It's the equivalent of the Lazy Newbie Pack, that is, and diff --git a/pkgs/games/dwarf-fortress/themes/default.nix b/pkgs/games/dwarf-fortress/themes/default.nix index 5caaa9e05ca51..0b8eb23a7b9d1 100644 --- a/pkgs/games/dwarf-fortress/themes/default.nix +++ b/pkgs/games/dwarf-fortress/themes/default.nix @@ -1,4 +1,4 @@ -{stdenv, lib, fetchFromGitHub}: +{lib, fetchFromGitHub}: with builtins; diff --git a/pkgs/games/gcs/default.nix b/pkgs/games/gcs/default.nix index defee04e5c249..b718a92143cb8 100644 --- a/pkgs/games/gcs/default.nix +++ b/pkgs/games/gcs/default.nix @@ -1,7 +1,6 @@ { stdenv, fetchFromGitHub, runCommand , jdk8, ant , jre8, makeWrapper -, findutils }: let diff --git a/pkgs/games/gzdoom/default.nix b/pkgs/games/gzdoom/default.nix index df1dd47905e4e..ae1db1d8b4a36 100644 --- a/pkgs/games/gzdoom/default.nix +++ b/pkgs/games/gzdoom/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, zdoom, makeWrapper +{ stdenv, fetchFromGitHub, cmake, makeWrapper , openal, fluidsynth, soundfont-fluid, libGL, SDL2 , bzip2, zlib, libjpeg, libsndfile, mpg123, game-music-emu }: diff --git a/pkgs/games/meritous/default.nix b/pkgs/games/meritous/default.nix index 8d49d38b41586..21d2ad87dfb8a 100644 --- a/pkgs/games/meritous/default.nix +++ b/pkgs/games/meritous/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitLab, SDL, SDL_image, SDL_mixer, zlib, binutils }: +{ stdenv, fetchFromGitLab, SDL, SDL_image, SDL_mixer, zlib }: stdenv.mkDerivation rec { name = "meritous-${version}"; diff --git a/pkgs/games/mnemosyne/default.nix b/pkgs/games/mnemosyne/default.nix index a5b349334923e..7c32d7faa3c59 100644 --- a/pkgs/games/mnemosyne/default.nix +++ b/pkgs/games/mnemosyne/default.nix @@ -1,5 +1,4 @@ -{ stdenv -, fetchurl +{ fetchurl , python }: diff --git a/pkgs/games/mrrescue/default.nix b/pkgs/games/mrrescue/default.nix index a693c79e8cec0..aa4a06bc7d2bf 100644 --- a/pkgs/games/mrrescue/default.nix +++ b/pkgs/games/mrrescue/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unzip, love, lua, makeWrapper, makeDesktopItem }: +{ stdenv, fetchurl, love, lua, makeWrapper, makeDesktopItem }: let pname = "mrrescue"; diff --git a/pkgs/games/nethack/default.nix b/pkgs/games/nethack/default.nix index db959177eb578..d4ad1119b9f53 100644 --- a/pkgs/games/nethack/default.nix +++ b/pkgs/games/nethack/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, writeScript, coreutils, ncurses, gzip, flex, bison +{ stdenv, lib, fetchurl, coreutils, ncurses, gzip, flex, bison , less, makeWrapper , x11Mode ? false, qtMode ? false, libXaw, libXext, mkfontdir, pkgconfig, qt5 }: diff --git a/pkgs/games/opendune/default.nix b/pkgs/games/opendune/default.nix index 7b848086794bc..0f045faf371eb 100644 --- a/pkgs/games/opendune/default.nix +++ b/pkgs/games/opendune/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, SDL, SDL_image, SDL_mixer, binutils }: +{ stdenv, fetchFromGitHub, SDL, SDL_image, SDL_mixer }: # - set the opendune configuration at ~/.config/opendune/opendune.ini: # [opendune] diff --git a/pkgs/games/openmw/default.nix b/pkgs/games/openmw/default.nix index 8080c95963880..4d01feaccc0db 100644 --- a/pkgs/games/openmw/default.nix +++ b/pkgs/games/openmw/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, qt4, openscenegraph, mygui, bullet, ffmpeg, boost, cmake, SDL2, unshield, openal -, giflib, libXt, pkgconfig }: +, libXt, pkgconfig }: let openscenegraph_ = openscenegraph.overrideDerivation (self: { diff --git a/pkgs/games/openrct2/default.nix b/pkgs/games/openrct2/default.nix index 9e67c7847f83f..e5783ec5396f8 100644 --- a/pkgs/games/openrct2/default.nix +++ b/pkgs/games/openrct2/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, fetchFromGitHub, +{ stdenv, fetchFromGitHub, SDL2, cmake, curl, fontconfig, freetype, icu, jansson, libiconv, libpng, libpthreadstubs, libzip, libGLU, openssl, pkgconfig, speexdsp, zlib }: diff --git a/pkgs/games/openspades/default.nix b/pkgs/games/openspades/default.nix index 582cafcc4d462..b475726555597 100644 --- a/pkgs/games/openspades/default.nix +++ b/pkgs/games/openspades/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchurl, fetchFromGitHub, cmake, unzip, zip, file +{ stdenv, fetchurl, fetchFromGitHub, cmake, unzip, zip, file , curl, glew , libGL, SDL2, SDL2_image, zlib, freetype, imagemagick , openal , opusfile, libogg }: diff --git a/pkgs/games/openxcom/default.nix b/pkgs/games/openxcom/default.nix index a936ca134122a..9a82c678f3701 100644 --- a/pkgs/games/openxcom/default.nix +++ b/pkgs/games/openxcom/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchFromGitHub, fetchpatch, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost +{stdenv, fetchFromGitHub, cmake, libGLU_combined, zlib, openssl, libyamlcpp, boost , SDL, SDL_image, SDL_mixer, SDL_gfx }: let version = "1.0.0.2018.01.28"; in diff --git a/pkgs/games/pokerth/default.nix b/pkgs/games/pokerth/default.nix index 122ce3f6e2fab..aae49eedd7c98 100644 --- a/pkgs/games/pokerth/default.nix +++ b/pkgs/games/pokerth/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, qmake4Hook, qt4, protobuf, boost155, tinyxml2, libgcrypt, sqlite, gsasl, curl, SDL, SDL_mixer, libircclient }: +{ stdenv, fetchFromGitHub, qmake4Hook, qt4, protobuf, boost155, tinyxml2, libgcrypt, sqlite, gsasl, curl, SDL, SDL_mixer, libircclient }: let boost = boost155; in stdenv.mkDerivation rec { diff --git a/pkgs/games/quake3/wrapper/default.nix b/pkgs/games/quake3/wrapper/default.nix index 69b166664be42..4ab53d677324f 100644 --- a/pkgs/games/quake3/wrapper/default.nix +++ b/pkgs/games/quake3/wrapper/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildEnv, lib, fetchurl, libGL, ioquake3, makeWrapper }: +{ stdenv, buildEnv, lib, libGL, ioquake3, makeWrapper }: { paks, name ? (stdenv.lib.head paks).name, description ? "" }: diff --git a/pkgs/games/rigsofrods/default.nix b/pkgs/games/rigsofrods/default.nix index a038957f701ed..e75698e72799c 100644 --- a/pkgs/games/rigsofrods/default.nix +++ b/pkgs/games/rigsofrods/default.nix @@ -1,5 +1,5 @@ -{ fetchurl, fetchFromGitHub, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU_combined, boost, - pkgconfig, libuuid, openal, ogre, ois, curl, gtk2, pixman, mygui, unzip, +{ fetchFromGitHub, stdenv, wxGTK30, freeimage, cmake, zziplib, libGLU_combined, boost, + pkgconfig, libuuid, openal, ogre, ois, curl, gtk2, mygui, unzip, angelscript, ogrepaged, mysocketw, libxcb }: diff --git a/pkgs/games/sienna/default.nix b/pkgs/games/sienna/default.nix index 2636bc9e79901..58ed85c79fdb7 100644 --- a/pkgs/games/sienna/default.nix +++ b/pkgs/games/sienna/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, unzip, love, lua, makeWrapper, makeDesktopItem }: +{ stdenv, fetchurl, love, lua, makeWrapper, makeDesktopItem }: let pname = "sienna"; diff --git a/pkgs/games/spring/default.nix b/pkgs/games/spring/default.nix index 83a85415664d6..1dcf432ccd484 100644 --- a/pkgs/games/spring/default.nix +++ b/pkgs/games/spring/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, cmake, lzma, boost, libdevil, zlib, p7zip -, openal, libvorbis, glew, freetype, xorg, SDL2, libGLU_combined, binutils +, openal, libvorbis, glew, freetype, xorg, SDL2, libGLU_combined , asciidoc, libxslt, docbook_xsl, docbook_xsl_ns, curl, makeWrapper , jdk ? null, python ? null, systemd, libunwind, which, minizip , withAI ? true # support for AI Interfaces and Skirmish AIs diff --git a/pkgs/games/spring/springlobby.nix b/pkgs/games/spring/springlobby.nix index 2000398b537d4..632a047e96c71 100644 --- a/pkgs/games/spring/springlobby.nix +++ b/pkgs/games/spring/springlobby.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, cmake, wxGTK30, openal, pkgconfig, curl, libtorrentRasterbar -, libpng, libX11, gettext, bash, gawk, boost, libnotify, gtk2, doxygen, spring +, libpng, libX11, gettext, boost, libnotify, gtk2, doxygen, spring , makeWrapper, glib, minizip, alure, pcre, jsoncpp }: stdenv.mkDerivation rec { diff --git a/pkgs/games/stepmania/default.nix b/pkgs/games/stepmania/default.nix index d51d1bb154d69..4f9406abd8355 100644 --- a/pkgs/games/stepmania/default.nix +++ b/pkgs/games/stepmania/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchpatch, fetchFromGitHub, cmake, nasm +{ stdenv, lib, fetchFromGitHub, cmake, nasm , gtk2, glib, ffmpeg, alsaLib, libmad, libogg, libvorbis , glew, libpulseaudio, udev }: diff --git a/pkgs/games/tibia/default.nix b/pkgs/games/tibia/default.nix index e0f9bae2e39b3..cfef1ed0db2b1 100644 --- a/pkgs/games/tibia/default.nix +++ b/pkgs/games/tibia/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, patchelf, glibc, libX11, libGLU_combined }: +{ stdenv, fetchurl, glibc, libX11, libGLU_combined }: with stdenv.lib; stdenv.mkDerivation { diff --git a/pkgs/games/torcs/default.nix b/pkgs/games/torcs/default.nix index 522a1a2857d54..b941f3bd2e050 100644 --- a/pkgs/games/torcs/default.nix +++ b/pkgs/games/torcs/default.nix @@ -1,6 +1,6 @@ { fetchpatch, fetchurl, stdenv, libGLU, freeglut, libX11, plib, openal, freealut, libXrandr, xproto, libXext, libSM, libICE, libXi, libXt, libXrender, libXxf86vm, libvorbis, -libpng, zlib, bash, makeWrapper }: +libpng, zlib, makeWrapper }: stdenv.mkDerivation rec { name = "torcs-1.3.7"; diff --git a/pkgs/games/uqm/default.nix b/pkgs/games/uqm/default.nix index dd60c0efb599b..00592f7c39bb2 100644 --- a/pkgs/games/uqm/default.nix +++ b/pkgs/games/uqm/default.nix @@ -1,5 +1,5 @@ { stdenv, lib, fetchurl, pkgconfig, libGLU_combined -, SDL, SDL_image, libpng, zlib, libvorbis, libogg, libmikmod +, SDL, SDL_image, libpng, libvorbis, libogg, libmikmod , use3DOVideos ? false, requireFile ? null, writeText ? null , haskellPackages ? null diff --git a/pkgs/games/vdrift/default.nix b/pkgs/games/vdrift/default.nix index ce20d1b3f1779..7e43fbf2c880c 100644 --- a/pkgs/games/vdrift/default.nix +++ b/pkgs/games/vdrift/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchFromGitHub, fetchsvn, pkgconfig, scons, libGLU_combined, SDL2, SDL2_image -, libvorbis, bullet, curl, gettext, writeTextFile, writeShellScriptBin +, libvorbis, bullet, curl, gettext, writeTextFile , data ? fetchsvn { url = "svn://svn.code.sf.net/p/vdrift/code/vdrift-data"; diff --git a/pkgs/games/wesnoth/default.nix b/pkgs/games/wesnoth/default.nix index 45b4e5a5891ee..75afddf52c8e4 100644 --- a/pkgs/games/wesnoth/default.nix +++ b/pkgs/games/wesnoth/default.nix @@ -1,5 +1,5 @@ { stdenv, fetchurl, cmake, pkgconfig, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf -, pango, gettext, boost, freetype, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu +, pango, gettext, boost, libvorbis, fribidi, dbus, libpng, pcre, openssl, icu , Cocoa, Foundation , enableTools ? false }: diff --git a/pkgs/games/widelands/default.nix b/pkgs/games/widelands/default.nix index 222275a2ba1ad..1e2c17814d6fe 100644 --- a/pkgs/games/widelands/default.nix +++ b/pkgs/games/widelands/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl, cmake, python, gettext , boost, libpng, zlib, glew, lua, doxygen, icu -, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf, SDL2_gfx +, SDL2, SDL2_image, SDL2_mixer, SDL2_net, SDL2_ttf }: stdenv.mkDerivation rec { diff --git a/pkgs/games/worldofgoo/default.nix b/pkgs/games/worldofgoo/default.nix index af76e85346f79..9684f3b876a86 100644 --- a/pkgs/games/worldofgoo/default.nix +++ b/pkgs/games/worldofgoo/default.nix @@ -1,4 +1,4 @@ -{ stdenv, config, requireFile, fetchurl +{ stdenv, requireFile , libX11, libXext, libXau, libxcb, libXdmcp , SDL, SDL_mixer, libvorbis, libGLU_combined , demo ? false }: diff --git a/pkgs/games/xonotic/default.nix b/pkgs/games/xonotic/default.nix index 6d9ae55e639c5..ac7bf7973d77e 100644 --- a/pkgs/games/xonotic/default.nix +++ b/pkgs/games/xonotic/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchurl , # required for both - unzip, libjpeg, zlib, libvorbis, curl, patchelf + unzip, libjpeg, zlib, libvorbis, curl , # glx libX11, libGLU_combined, libXpm, libXext, libXxf86vm, alsaLib , # sdl diff --git a/pkgs/games/zandronum/sqlite.nix b/pkgs/games/zandronum/sqlite.nix index 35fcb4a0eec79..3d60dab6fe006 100644 --- a/pkgs/games/zandronum/sqlite.nix +++ b/pkgs/games/zandronum/sqlite.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, unzip }: +{ lib, stdenv, fetchurl }: stdenv.mkDerivation { name = "sqlite-zandronum-3.0"; |