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,4 +1,4 @@
{ stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, unzip, bash, makeWrapper }:
{ stdenv, fetchFromGitHub, jdk, ant, python2, python2Packages, watchman, bash, makeWrapper }:
stdenv.mkDerivation rec {
name = "buck-${version}";
@@ -1,4 +1,4 @@
{ stdenv, lib, openssh, buildbot-worker, buildbot-pkg, pythonPackages, runCommand, makeWrapper }:
{ stdenv, openssh, buildbot-worker, buildbot-pkg, pythonPackages, runCommand, makeWrapper }:
let
withPlugins = plugins: runCommand "wrapped-${package.name}" {
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchpatch, replace, curl, expat, zlib, bzip2
{ stdenv, fetchurl, fetchpatch, curl, expat, zlib, bzip2
, useNcurses ? false, ncurses, useQt4 ? false, qt4, ps
, buildPlatform, hostPlatform
}:
@@ -1,4 +1,4 @@
{ lib, fetchpatch, python }:
{ lib, python }:
let newPython = python.override {
packageOverrides = self: super: {
@@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, curl, dmd, libevent, rsync }:
{ stdenv, fetchFromGitHub, curl, dmd, libevent, rsync }:
let
@@ -1,4 +1,4 @@
{ lib, python3Packages, stdenv, ninja, pkgconfig, targetPlatform, writeTextDir, substituteAll }: let
{ lib, python3Packages, stdenv, targetPlatform, writeTextDir, substituteAll }: let
targetPrefix = lib.optionalString stdenv.isCross
(targetPlatform.config + "-");
in python3Packages.buildPythonApplication rec {
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, fetchFromGitHub, pkgconfig, mono, makeWrapper
{ stdenv, fetchFromGitHub, pkgconfig, mono, makeWrapper
, targetVersion ? "4.5" }:
let
@@ -1,4 +1,4 @@
{ stdenv, pythonPackages, runCommand, curl }:
{ stdenv, pythonPackages }:
with stdenv.lib;
with pythonPackages;
@@ -1,6 +1,6 @@
{ stdenv, writeText, callPackage, fetchurl,
{ stdenv, fetchurl,
fetchHex, erlang, hermeticRebar3 ? true,
tree, fetchFromGitHub, hexRegistrySnapshot }:
tree, hexRegistrySnapshot }:
let
version = "3.6.1";
@@ -1,6 +1,6 @@
{ version, sha256 }:
{ stdenv, fetchurl, fetchpatch, python2Packages }:
{ stdenv, fetchurl, python2Packages }:
let name = "scons";
in python2Packages.buildPythonApplication {
@@ -1,4 +1,4 @@
{ callPackage, stdenv }:
{ callPackage }:
let
mkScons = args: callPackage (import ./common.nix args) { };
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, python2 }:
{ stdenv, fetchurl, python2 }:
stdenv.mkDerivation rec {
name = "waf-${version}";