pkgs/*: remove unreferenced function arguments

This commit is contained in:
volth
2018-07-21 00:44:44 +00:00
parent 1a6af9f88e
commit 52f53c69ce
1540 changed files with 1554 additions and 1878 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, zlib, cups, ghostscript }:
{ stdenv, fetchFromGitHub, cmake, zlib, cups }:
stdenv.mkDerivation rec {

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk, patchelf}:
{stdenv, fetchurl, cups, dpkg, gnused, makeWrapper, ghostscript, file, a2ps, coreutils, gawk}:
let
version = "3.0.1-1";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, cups, dpkg, ghostscript, patchelf, a2ps, coreutils, gnused, gawk, file, makeWrapper }:
{ stdenv, fetchurl, cups, dpkg, ghostscript, a2ps, coreutils, gnused, gawk, file, makeWrapper }:
stdenv.mkDerivation rec {
name = "mfcj470dw-cupswrapper-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, patchelf, utillinux, xxd
{ stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, utillinux, xxd
, ghostscript, a2ps }:
# Why:

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, glibc, cups, libusb, libxml2, ghostscript }:
{ stdenv, fetchurl, cups, libusb, libxml2 }:
let

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchsvn, fetchurl, cups, zlib }:
{ stdenv, fetchsvn, cups, zlib }:
let rev = "315"; in
stdenv.mkDerivation rec {
name = "splix-svn-${rev}";

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, cups, poppler, poppler_utils, fontconfig
, libjpeg, libpng, perl, ijs, qpdf, dbus, substituteAll, bash, avahi
, libjpeg, libpng, perl, ijs, qpdf, dbus, avahi
, makeWrapper, coreutils, gnused, bc, gawk, gnugrep, which, ghostscript
, mupdf
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, stdenv_32bit, fetchurl, cups, pkgsi686Linux, dpkg, psutils, makeWrapper, ghostscript, bash }:
{ stdenv, fetchurl, cups, pkgsi686Linux, dpkg, psutils, makeWrapper, ghostscript, bash }:
let
version = "1.2-0";

View File

@@ -1,8 +1,7 @@
{ stdenv, fetchurl, substituteAll
, pkgconfig
, makeWrapper
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
, net_snmp, openssl, polkit, nettools
, cups, libjpeg, libusb1, pythonPackages, sane-backends, dbus, usbutils
, net_snmp, openssl, nettools
, bash, coreutils, utillinux
, qtSupport ? true
, withPlugin ? false

View File

@@ -1,9 +1,8 @@
{ stdenv, fetchurl, substituteAll
, pkgconfig
, makeWrapper
, cups, zlib, libjpeg, libusb1, pythonPackages, sane-backends
, dbus, file, ghostscript, usbutils
, net_snmp, openssl, perl, polkit, nettools
, net_snmp, openssl, perl, nettools
, bash, coreutils, utillinux
, withQt5 ? true
, withPlugin ? false

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, rpmextract }:
{ stdenv, fetchurl, rpmextract }:
let
version = "20160218";
in

View File

@@ -1,4 +1,4 @@
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, stdenv, gnome3, gdk_pixbuf, librsvg, intltool }:
{ callPackage, gtk3, glib, libxml2, gnuplot, makeWrapper, gnome3, gdk_pixbuf, librsvg, intltool }:
let pkg = import ./base.nix {
version = "3.1.0";
pkgName = "image-analyzer";

View File

@@ -1,4 +1,4 @@
{ callPackage, pythonPackages, gtk3, glib, libnotify, intltool, makeWrapper, gobjectIntrospection, gnome3, gdk_pixbuf, librsvg }:
{ callPackage, pythonPackages, gtk3, glib, libnotify, intltool, makeWrapper, gnome3, gdk_pixbuf, librsvg }:
let
pkg = import ./base.nix {
version = "3.1.0";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, kernel, libelf }:
{ stdenv, fetchurl, kernel }:
stdenv.mkDerivation rec {
name = "vhba-${version}";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchsvn, SDL, SDL_net, SDL_sound, libpng, makeDesktopItem, libGLU_combined, autoreconfHook }:
{ stdenv, fetchsvn, SDL, SDL_net, SDL_sound, libpng, makeDesktopItem, libGLU_combined, autoreconfHook }:
let revision = "4025";
revisionDate = "2017-07-02";

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, alsaLib, curl, gdk_pixbuf, gcc, glib, gtk3,
{ stdenv, fetchurl, alsaLib, curl, gdk_pixbuf, glib, gtk3,
libX11, openssl, ncurses5, SDL, SDL_ttf, unzip, zlib, wrapGAppsHook }:
with stdenv.lib;

View File

@@ -1,4 +1,4 @@
{stdenv, lib, fetchurl, boost, dash, freetype, libpng, pkgconfig, SDL, which, zlib }:
{stdenv, fetchurl, boost, dash, freetype, libpng, pkgconfig, SDL, which, zlib }:
stdenv.mkDerivation rec {
name = "mupen64plus-${version}";

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, SDL2, alsaLib, gtk3
, makeWrapper, libGLU_combined, libarchive, libao, unzip, xdg_utils, gsettings-desktop-schemas
{ stdenv, fetchFromGitHub, pkgconfig, SDL2, alsaLib, gtk3
, makeWrapper, libGLU_combined, libarchive, libao, unzip, xdg_utils
, epoxy, gdk_pixbuf, gnome3, wrapGAppsHook
}:

View File

@@ -1,5 +1,5 @@
{ stdenv
, fetchurl, qmake, qttools, pkgconfig
, fetchurl, qttools, pkgconfig
, minizip, zlib
, qtbase, qtsvg, qtmultimedia, qtwebkit, qttranslations, qtxmlpatterns
, rsync, SDL2, xwininfo

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchhg, cmake, dos2unix, glib, gst_all_1, makeWrapper, pkgconfig
{ stdenv, fetchhg, cmake, glib, gst_all_1, makeWrapper, pkgconfig
, python, SDL2, SDL2_image, SDL2_mixer, SDL2_ttf, sqlite, zlib
}:

View File

@@ -5,10 +5,6 @@
, ffmpeg
, gettext
, gtk2-x11
, libpng
, libpthreadstubs
, libXdmcp
, libxshmfence
, libGLU_combined
, openal
, pkgconfig

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU_combined, libX11, libXaw
{ stdenv, fetchurl, bison, flex, perl, libpng, giflib, libjpeg, alsaLib, readline, libGLU_combined, libXaw
, pkgconfig, gtk2, SDL, autoreconfHook, makeDesktopItem
}:

View File

@@ -6,7 +6,7 @@
# };
# Make additional configurations on demand:
# wine.override { wineBuild = "wine32"; wineRelease = "staging"; };
{ lib, pkgs, system, callPackage,
{ lib, system, callPackage,
wineRelease ? "stable",
wineBuild ? (if system == "x86_64-linux" then "wineWow" else "wine32"),
libtxc_dxtn_Name ? "libtxc_dxtn_s2tc",

View File

@@ -1,4 +1,4 @@
{ system, stdenv, stdenv_32bit, lib, pkgs, pkgsi686Linux, callPackage,
{ stdenv_32bit, lib, pkgs, pkgsi686Linux, callPackage,
wineRelease ? "stable",
supportFlags
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, callPackage, lib, wineUnstable, libtxc_dxtn_Name }:
{ stdenv, callPackage, wineUnstable, libtxc_dxtn_Name }:
with callPackage ./util.nix {};

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchpatch, pkgconfig, zlib, expat, openssl, autoconf
{ stdenv, lib, fetchurl, pkgconfig, zlib, expat, openssl, autoconf
, libjpeg, libpng, libtiff, freetype, fontconfig, lcms2, libpaper, jbig2dec
, libiconv, ijs
, x11Support ? false, xlibsWrapper ? null

View File

@@ -6,7 +6,6 @@
# Optional Dependencies
, dbus ? null, libffado ? null, alsaLib ? null
, libopus ? null
, darwin
# Extra options
, prefix ? ""

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchgit, guile, rsync, lilypond, gyre-fonts }:
{ stdenv, fetchurl, fetchgit, rsync, lilypond, gyre-fonts }:
with stdenv.lib;

View File

@@ -59,7 +59,7 @@
{ mkDerivation, substituteAll, pkgs }:
{ stdenv ? pkgs.stdenv, name, buildInputs ? []
, propagatedBuildInputs ? [], gcc ? stdenv.cc, cTags ? [], extraCmds ? ""
, propagatedBuildInputs ? [], gcc ? stdenv.cc, extraCmds ? ""
, cleanupCmds ? "", shell ? "${pkgs.bashInteractive}/bin/bash --norc"}:
mkDerivation {

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchgit, pkgs, ... }:
{ stdenv, pkgs }:
stdenv.mkDerivation rec {
version = "2014-07-16";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, writeText
{ stdenv, fetchurl, writeText
, xproto, libX11, libXext, libXrandr
# default header can be obtained from
# https://git.suckless.org/slock/tree/config.def.h

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gnome3, gtk-engine-murrine }:
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, gtk-engine-murrine }:
stdenv.mkDerivation rec {
name = "${pname}-${version}";

View File

@@ -1,6 +1,6 @@
{ stdenv, fetchurl, fetchpatch, bc, bison, dtc, flex, openssl, python2, swig
, armTrustedFirmwareAllwinner
, hostPlatform, buildPackages
, buildPackages
}:
let

View File

@@ -1,9 +1,9 @@
# TODO check that no license information gets lost
{ config, lib, fetchurl, stdenv, python, git, go, cmake, vim, vimUtils, perl, ruby
{ config, lib, stdenv, python, cmake, vim, vimUtils, ruby
, which, fetchgit, llvmPackages, rustPlatform
, xkb_switch, rustracerd, fzf, skim
, xkb_switch, fzf, skim
, python3, boost, icu, ncurses
, ycmd, makeWrapper, rake
, ycmd, rake
, pythonPackages, python3Packages
, substituteAll
, languagetool

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchzip, vscode-utils, jq, mono46, clang-tools, writeScript
{ stdenv, fetchzip, vscode-utils, jq, mono46, clang-tools, writeScript
, gdbUseFixed ? true, gdb # The gdb default setting will be fixed to specified. Use version from `PATH` otherwise.
}:

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, callPackage, vscode-utils }:
{ stdenv, callPackage, vscode-utils }:
let
inherit (vscode-utils) buildVscodeExtension buildVscodeMarketplaceExtension

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, vscode-utils
{ lib, vscode-utils
, pythonUseFixed ? false, python # When `true`, the python default setting will be fixed to specified.
# Use version from `PATH` for default setting otherwise.

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, runCommand, vscode, unzip }:
{ stdenv, lib, fetchurl, vscode, unzip }:
let
extendedPkgVersion = lib.getVersion vscode;