pkgs/*: remove unreferenced function arguments

This commit is contained in:
volth
2018-07-21 02:48:04 +00:00
parent 1a6af9f88e
commit 52f53c69ce
1540 changed files with 1554 additions and 1878 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{ mkDerivation, fetchurl, fetchpatch }:
{ mkDerivation, fetchpatch }:
mkDerivation rec {
version = "19.3.6.6";
+1 -1
View File
@@ -1,4 +1,4 @@
{ mkDerivation, fetchurl }:
{ mkDerivation }:
mkDerivation rec {
version = "20.3.8";
+1 -1
View File
@@ -1,4 +1,4 @@
{ mkDerivation, fetchurl }:
{ mkDerivation }:
mkDerivation rec {
version = "21.0";
@@ -1,4 +1,4 @@
{ pkgs, stdenv, fetchurl, fetchFromGitHub, makeWrapper, gawk, gnum4, gnused
{ pkgs, stdenv, fetchFromGitHub, makeWrapper, gawk, gnum4, gnused
, libxml2, libxslt, ncurses, openssl, perl, autoreconfHook
, openjdk ? null # javacSupport
, unixODBC ? null # odbcSupport
+1 -1
View File
@@ -2,7 +2,7 @@
, buildPlatform, hostPlatform
, fetchpatch, fetchurl, makeWrapper, gawk, pkgconfig
, libffi, libtool, readline, gmp, boehmgc, libunistring
, coverageAnalysis ? null, gnu ? null
, coverageAnalysis ? null
}:
# Do either a coverage analysis build or a standard build.
@@ -2,7 +2,7 @@
, buildPlatform, hostPlatform
, fetchurl, makeWrapper, gawk, pkgconfig
, libffi, libtool, readline, gmp, boehmgc, libunistring
, coverageAnalysis ? null, gnu ? null
, coverageAnalysis ? null
}:
# Do either a coverage analysis build or a standard build.
+1 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, readline }:
{ stdenv, fetchurl, readline }:
let
dsoPatch = fetchurl {
+1 -3
View File
@@ -1,6 +1,4 @@
{ stdenv, fetchurl, readline, compat ? false
, hostPlatform
}:
{ stdenv, fetchurl, readline, compat ? false }:
let
dsoPatch = fetchurl {
+1 -3
View File
@@ -1,6 +1,4 @@
{ stdenv, fetchurl, readline, compat ? false
, hostPlatform
}:
{ stdenv, fetchurl, readline, compat ? false }:
stdenv.mkDerivation rec {
name = "lua-${version}";
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, hostPlatform }:
{ stdenv, lib, fetchurl }:
rec {
luajit = luajit_2_1;
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurlBoot, buildPackages
, enableThreading ? stdenv ? glibc, fetchpatch, makeWrapper
, enableThreading ? stdenv ? glibc, makeWrapper
}:
with lib;
@@ -1,6 +1,6 @@
# pcre functionality is tested in nixos/tests/php-pcre.nix
{ lib, stdenv, fetchurl, composableDerivation, autoconf, automake, flex, bison
{ lib, stdenv, fetchurl, composableDerivation, flex, bison
, mysql, libxml2, readline, zlib, curl, postgresql, gettext
, openssl, pcre, pkgconfig, sqlite, config, libjpeg, libpng, freetype
, libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, freetds
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2Packages }:
{ fetchurl, python2Packages }:
let version = "0.9.5.1.1"; in
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, python2Packages }:
{ fetchurl, python2Packages }:
let version = "0.9.6.4"; in
@@ -10,7 +10,6 @@
, zlib
, callPackage
, self
, gettext
, db
, expat
, libffi
@@ -19,7 +18,7 @@
# Some proprietary libs assume UCS2 unicode, especially on darwin :(
, ucsEncoding ? 4
# For the Python package set
, pkgs, packageOverrides ? (self: super: {})
, packageOverrides ? (self: super: {})
}:
assert x11Support -> tcl != null
@@ -15,7 +15,7 @@
, CF, configd
, python-setup-hook
# For the Python package set
, pkgs, packageOverrides ? (self: super: {})
, packageOverrides ? (self: super: {})
}:
assert x11Support -> tcl != null
@@ -15,7 +15,7 @@
, CF, configd
, python-setup-hook
# For the Python package set
, pkgs, packageOverrides ? (self: super: {})
, packageOverrides ? (self: super: {})
}:
assert x11Support -> tcl != null
@@ -1,5 +1,4 @@
{ stdenv, fetchurl, fetchpatch, buildPackages
, glibc
, bzip2
, expat
, libffi
@@ -16,7 +15,7 @@
, CF, configd
, python-setup-hook
# For the Python package set
, pkgs, packageOverrides ? (self: super: {})
, packageOverrides ? (self: super: {})
}:
assert x11Support -> tcl != null
@@ -1,5 +1,4 @@
{ stdenv, fetchurl, fetchpatch
, glibc
, bzip2
, expat
, libffi
@@ -16,7 +15,7 @@
, CF, configd
, python-setup-hook
# For the Python package set
, pkgs, packageOverrides ? (self: super: {})
, packageOverrides ? (self: super: {})
}:
assert x11Support -> tcl != null
@@ -4,7 +4,7 @@
, makeWrapper, callPackage, self, gdbm, db
, python-setup-hook
# For the Python package set
, pkgs, packageOverrides ? (self: super: {})
, packageOverrides ? (self: super: {})
}:
assert zlibSupport -> zlib != null;
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchurl, patchelf, glibc, libX11, libXt, perl }:
{ stdenv, fetchFromGitHub, fetchurl, glibc, libX11, libXt, perl }:
stdenv.mkDerivation rec {
name = "rebol-nightly-${version}";
@@ -1,4 +1,4 @@
{ fetchurl, fetchgit, stdenv, xorg, makeWrapper, ncurses, cmake }:
{ fetchgit, stdenv, xorg, makeWrapper, ncurses, cmake }:
stdenv.mkDerivation rec {
# The Self wrapper stores source in $XDG_DATA_HOME/self or ~/.local/share/self
@@ -1,4 +1,4 @@
{ stdenv, fetchurl
{ stdenv
# Version specific stuff
, release, version, src
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, gdbm, libX11, libXt }:
{ stdenv, fetchurl, unzip, libX11, libXt }:
stdenv.mkDerivation rec {
name = "unicon-lang-${version}";