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, fetchurl, unzip }:
{ stdenv, fetchurl }:
let
version = "2.04";

View File

@@ -1,7 +1,6 @@
{
stdenv, lib,
fetchFromGitHub, fetchurl,
runCommand, writeText,
nodejs, ttfautohint-nox, otfcc,
# Custom font set options.

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchzip, fetchFromGitHub, optipng, cairo, unzip, pythonPackages, pkgconfig, pngquant, which, imagemagick }:
{ stdenv, fetchzip, fetchFromGitHub, optipng, cairo, pythonPackages, pkgconfig, pngquant, which, imagemagick }:
let
mkNoto = { name, weights, sha256, }:

View File

@@ -1,7 +1,7 @@
{ stdenv, fetchzip }:
let
mkVariant = variant: { displayName, version, abbreviation, sha256, outputHash }: stdenv.mkDerivation {
mkVariant = variant: { version, abbreviation, sha256, outputHash }: stdenv.mkDerivation {
name = "tex-gyre-${variant}-${version}";
inherit version;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, writeText, nss, python
{ stdenv, fetchurl, nss, python
, blacklist ? []
, includeEmail ? false
}:

View File

@@ -1,4 +1,4 @@
{stdenv, fetchurl, unzip}:
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "docbook-xml-ebnf-1.2b1";

View File

@@ -12,7 +12,7 @@ let
in
import ./generic.nix {
inherit stdenv fetchurl unzip findXMLCatalogs;
inherit stdenv unzip findXMLCatalogs;
name = "docbook-xml-4.1.2";
src = fetchurl {
url = http://www.docbook.org/xml/4.1.2/docbkx412.zip;

View File

@@ -1,7 +1,7 @@
{stdenv, fetchurl, unzip, findXMLCatalogs}:
import ./generic.nix {
inherit stdenv fetchurl unzip findXMLCatalogs;
inherit stdenv unzip findXMLCatalogs;
name = "docbook-xml-4.2";
src = fetchurl {
url = http://www.docbook.org/xml/4.2/docbook-xml-4.2.zip;

View File

@@ -1,7 +1,7 @@
{stdenv, fetchurl, unzip, findXMLCatalogs}:
import ./generic.nix {
inherit stdenv fetchurl unzip findXMLCatalogs;
inherit stdenv unzip findXMLCatalogs;
name = "docbook-xml-4.3";
src = fetchurl {
url = http://www.docbook.org/xml/4.3/docbook-xml-4.3.zip;

View File

@@ -1,7 +1,7 @@
{stdenv, fetchurl, unzip, findXMLCatalogs}:
import ./generic.nix {
inherit stdenv fetchurl unzip findXMLCatalogs;
inherit stdenv unzip findXMLCatalogs;
name = "docbook-xml-4.4";
src = fetchurl {
url = http://www.docbook.org/xml/4.4/docbook-xml-4.4.zip;

View File

@@ -1,7 +1,7 @@
{stdenv, fetchurl, unzip, findXMLCatalogs}:
import ./generic.nix {
inherit stdenv fetchurl unzip findXMLCatalogs;
inherit stdenv unzip findXMLCatalogs;
name = "docbook-xml-4.5";
src = fetchurl {
url = http://www.docbook.org/xml/4.5/docbook-xml-4.5.zip;

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, src, name, postInstall ? "true", meta ? {}, findXMLCatalogs }:
{ stdenv, unzip, src, name, postInstall ? "true", meta ? {}, findXMLCatalogs }:
stdenv.mkDerivation {
inherit src name postInstall;