Merge pull request #43862 from volth/unused3

[bot] treewide: remove unused 'args@' in lambdas
This commit is contained in:
Frederik Rietdijk 2018-07-21 11:14:44 +02:00 committed by GitHub
commit 8424ac61a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
74 changed files with 76 additions and 76 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... } @ args:
{ config, pkgs, lib, ... }:
with lib;

View File

@ -2,7 +2,7 @@
, coreutils, gnugrep, which, git, python, unzip, libsecret
}:
{ name, product, version, src, wmClass, jdk, meta } @ attrs:
{ name, product, version, src, wmClass, jdk, meta }:
with stdenv.lib;

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, version, sha256s, ... } @ args:
{ stdenv, fetchurl, version, sha256s, ... }:
let
arch = {

View File

@ -1,7 +1,7 @@
{ stdenv, fetchurl }:
let
mkNixBackground = { name, src, description } @ attrs:
mkNixBackground = { name, src, description }:
stdenv.mkDerivation {
inherit name src;

View File

@ -13,7 +13,7 @@
, doCheck ? true
, broken ? false
, buildPlatform, hostPlatform
} @ args:
}:
let
inherit (stdenv.lib) optional optionalString;

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''alexandria'';
version = ''20170830-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''array-utils'';
version = ''20180131-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''asdf-finalizers'';
version = ''20170403-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''asdf-system-connections'';
version = ''20170124-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''chipz'';
version = ''20180328-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-aa'';
version = ''cl-vectors-20180228-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-anonfun'';
version = ''20111203-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-html-parse'';
version = ''20161031-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-l10n-cldr'';
version = ''20120909-darcs'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-log'';
version = ''cl-log.1.0.1'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-markup'';
version = ''20131003-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-paths'';
version = ''cl-vectors-20180228-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-unification'';
version = ''20171227-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''cl-utilities'';
version = ''1.2.4'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''clack-socket'';
version = ''clack-20180328-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''closer-mop'';
version = ''20180430-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''command-line-arguments'';
version = ''20151218-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''css-lite'';
version = ''20120407-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''db3'';
version = ''cl-20150302-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''eos'';
version = ''20150608-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''garbage-pools'';
version = ''20130720-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''iterate'';
version = ''20180228-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''kmrcl'';
version = ''20150923-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''lack-component'';
version = ''lack-20180430-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''lift'';
version = ''20151031-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''map-set'';
version = ''20160628-hg'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''marshal'';
version = ''cl-20180328-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''md5'';
version = ''20180228-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''metabang-bind'';
version = ''20171130-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''metatilities-base'';
version = ''20170403-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''misc-extensions'';
version = ''20150608-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''mt19937'';
version = ''1.1.1'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''named-readtables'';
version = ''20180131-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''net_dot_didierverna_dot_asdf-flv'';
version = ''asdf-flv-version-2.1'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''parse-number'';
version = ''v1.7'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''plump-lexer'';
version = ''plump-20170725-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''ptester'';
version = ''20160929-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''rfc2388'';
version = ''20130720-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''rt'';
version = ''20101006-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''salza2'';
version = ''2.0.9'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''string-case'';
version = ''20151218-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''swank'';
version = ''slime-v2.20'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-backtrace'';
version = ''20160531-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-features'';
version = ''20161204-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-gray-streams'';
version = ''20180328-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-indent'';
version = ''20180131-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-mimes'';
version = ''20180131-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-types'';
version = ''20120407-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''trivial-utf-8'';
version = ''20111001-darcs'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''uffi'';
version = ''20180228-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''uiop'';
version = ''3.3.1'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''unit-test'';
version = ''20120520-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''vom'';
version = ''20160825-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''xsubseq'';
version = ''20170830-git'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''yacc'';
version = ''cl-20101006-darcs'';

View File

@ -1,4 +1,4 @@
args @ { fetchurl, ... }:
{ fetchurl, ... }:
rec {
baseName = ''zpb-ttf'';
version = ''1.0.3'';

View File

@ -56,7 +56,7 @@ let
) dependencies);
# Recursively composes the dependencies of a package
composePackage = { name, packageName, src, dependencies ? [], ... }@args:
composePackage = { name, packageName, src, dependencies ? [], ... }:
''
DIR=$(pwd)
cd $TMPDIR
@ -176,7 +176,7 @@ let
# dependencies in the package.json file to the versions that are actually
# being used.
pinpointDependenciesOfPackage = { packageName, dependencies ? [], production ? true, ... }@args:
pinpointDependenciesOfPackage = { packageName, dependencies ? [], production ? true, ... }:
''
if [ -d "${packageName}" ]
then

View File

@ -1,4 +1,4 @@
{ stdenv, callPackage, pkgsi686Linux, makeWrapper, ...} @pkgs:
{ stdenv, callPackage, pkgsi686Linux, makeWrapper, ...}:
let
i686 = pkgsi686Linux.callPackage ./vms.nix {};

View File

@ -61,7 +61,7 @@ let
else
name;
copyIfBundledByPath = { bundledByPath ? false, ...}@main:
copyIfBundledByPath = { bundledByPath ? false, ...}:
(if bundledByPath then
assert gemFiles.gemdir != null; "cp -a ${gemFiles.gemdir}/* $out/" #*/
else ""

View File

@ -22,9 +22,9 @@ rec {
else gemset;
};
filterGemset = {ruby, groups,...}@env: gemset: lib.filterAttrs (name: attrs: platformMatches ruby attrs && groupMatches groups attrs) gemset;
filterGemset = {ruby, groups,...}: gemset: lib.filterAttrs (name: attrs: platformMatches ruby attrs && groupMatches groups attrs) gemset;
platformMatches = {rubyEngine, version, ...}@ruby: attrs: (
platformMatches = {rubyEngine, version, ...}: attrs: (
!(attrs ? "platforms") ||
builtins.length attrs.platforms == 0 ||
builtins.any (platform:

View File

@ -1,4 +1,4 @@
{ stdenv, writeText, lib, ruby, defaultGemConfig, callPackage, test, stubs, should }@defs:
{ stdenv, writeText, lib, ruby, defaultGemConfig, callPackage, test, stubs, should }:
let
testConfigs = {
inherit lib;

View File

@ -1,4 +1,4 @@
{ stdenv, writeText, lib, ruby, defaultGemConfig, callPackage, test, stubs, should}@defs:
{ stdenv, writeText, lib, ruby, defaultGemConfig, callPackage, test, stubs, should}:
let
bundlerEnv = callPackage ./default.nix stubs // {
basicEnv = callPackage ../bundled-common stubs;

View File

@ -47,7 +47,7 @@
, mkValueOverride ? null
, ...
} @ args:
}:
assert stdenv.isLinux;

View File

@ -12,7 +12,7 @@ let
, rev ? "spl-${version}"
, broken ? false
, patches ? []
} @ args : stdenv.mkDerivation rec {
}: stdenv.mkDerivation rec {
name = "spl-${version}-${kernel.version}";
src = fetchFromGitHub {

View File

@ -24,7 +24,7 @@ let
, rev ? "zfs-${version}"
, isUnstable ? false
, isLegacyCrypto ? false
, incompatibleKernelVersion ? null } @ args:
, incompatibleKernelVersion ? null }:
if buildKernel &&
(incompatibleKernelVersion != null) &&
versionAtLeast kernel.version incompatibleKernelVersion then

View File

@ -2,7 +2,7 @@
let
common = { versionMajor, versionMinor, sha256 } @ args: stdenv.mkDerivation (rec {
common = { versionMajor, versionMinor, sha256 }: stdenv.mkDerivation (rec {
name = "apache-tomcat-${version}";
version = "${versionMajor}.${versionMinor}";

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl }:
let
common = { versiona, sha256 } @ args: stdenv.mkDerivation (rec {
common = { versiona, sha256 }: stdenv.mkDerivation (rec {
name= "owncloud-${version}";
version= versiona;

View File

@ -2,7 +2,7 @@
let
common = { version, sha256, psqlSchema } @ args:
common = { version, sha256, psqlSchema }:
let atLeast = lib.versionAtLeast version; in stdenv.mkDerivation (rec {
name = "postgresql-${version}";

View File

@ -39,7 +39,7 @@
, melpaBuild
, external
}@args:
}:
with lib.licenses;