Merge pull request #43862 from volth/unused3
[bot] treewide: remove unused 'args@' in lambdas
This commit is contained in:
commit
8424ac61a9
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, lib, ... } @ args:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, version, sha256s, ... } @ args:
|
||||
{ stdenv, fetchurl, version, sha256s, ... }:
|
||||
|
||||
let
|
||||
arch = {
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
mkNixBackground = { name, src, description } @ attrs:
|
||||
mkNixBackground = { name, src, description }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
inherit name src;
|
||||
|
@ -13,7 +13,7 @@
|
||||
, doCheck ? true
|
||||
, broken ? false
|
||||
, buildPlatform, hostPlatform
|
||||
} @ args:
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optional optionalString;
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''alexandria'';
|
||||
version = ''20170830-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''array-utils'';
|
||||
version = ''20180131-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''asdf-finalizers'';
|
||||
version = ''20170403-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''asdf-system-connections'';
|
||||
version = ''20170124-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''chipz'';
|
||||
version = ''20180328-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-aa'';
|
||||
version = ''cl-vectors-20180228-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-anonfun'';
|
||||
version = ''20111203-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-html-parse'';
|
||||
version = ''20161031-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-l10n-cldr'';
|
||||
version = ''20120909-darcs'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-log'';
|
||||
version = ''cl-log.1.0.1'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-markup'';
|
||||
version = ''20131003-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-paths'';
|
||||
version = ''cl-vectors-20180228-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-unification'';
|
||||
version = ''20171227-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''cl-utilities'';
|
||||
version = ''1.2.4'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''clack-socket'';
|
||||
version = ''clack-20180328-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''closer-mop'';
|
||||
version = ''20180430-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''command-line-arguments'';
|
||||
version = ''20151218-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''css-lite'';
|
||||
version = ''20120407-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''db3'';
|
||||
version = ''cl-20150302-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''eos'';
|
||||
version = ''20150608-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''garbage-pools'';
|
||||
version = ''20130720-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''iterate'';
|
||||
version = ''20180228-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''kmrcl'';
|
||||
version = ''20150923-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''lack-component'';
|
||||
version = ''lack-20180430-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''lift'';
|
||||
version = ''20151031-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''map-set'';
|
||||
version = ''20160628-hg'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''marshal'';
|
||||
version = ''cl-20180328-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''md5'';
|
||||
version = ''20180228-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''metabang-bind'';
|
||||
version = ''20171130-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''metatilities-base'';
|
||||
version = ''20170403-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''misc-extensions'';
|
||||
version = ''20150608-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''mt19937'';
|
||||
version = ''1.1.1'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''named-readtables'';
|
||||
version = ''20180131-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''net_dot_didierverna_dot_asdf-flv'';
|
||||
version = ''asdf-flv-version-2.1'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''parse-number'';
|
||||
version = ''v1.7'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''plump-lexer'';
|
||||
version = ''plump-20170725-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''ptester'';
|
||||
version = ''20160929-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''rfc2388'';
|
||||
version = ''20130720-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''rt'';
|
||||
version = ''20101006-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''salza2'';
|
||||
version = ''2.0.9'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''string-case'';
|
||||
version = ''20151218-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''swank'';
|
||||
version = ''slime-v2.20'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-backtrace'';
|
||||
version = ''20160531-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-features'';
|
||||
version = ''20161204-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-gray-streams'';
|
||||
version = ''20180328-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-indent'';
|
||||
version = ''20180131-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-mimes'';
|
||||
version = ''20180131-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-types'';
|
||||
version = ''20120407-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''trivial-utf-8'';
|
||||
version = ''20111001-darcs'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''uffi'';
|
||||
version = ''20180228-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''uiop'';
|
||||
version = ''3.3.1'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''unit-test'';
|
||||
version = ''20120520-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''vom'';
|
||||
version = ''20160825-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''xsubseq'';
|
||||
version = ''20170830-git'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''yacc'';
|
||||
version = ''cl-20101006-darcs'';
|
||||
|
@ -1,4 +1,4 @@
|
||||
args @ { fetchurl, ... }:
|
||||
{ fetchurl, ... }:
|
||||
rec {
|
||||
baseName = ''zpb-ttf'';
|
||||
version = ''1.0.3'';
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, callPackage, pkgsi686Linux, makeWrapper, ...} @pkgs:
|
||||
{ stdenv, callPackage, pkgsi686Linux, makeWrapper, ...}:
|
||||
|
||||
let
|
||||
i686 = pkgsi686Linux.callPackage ./vms.nix {};
|
||||
|
@ -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 ""
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -47,7 +47,7 @@
|
||||
|
||||
, mkValueOverride ? null
|
||||
, ...
|
||||
} @ args:
|
||||
}:
|
||||
|
||||
assert stdenv.isLinux;
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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
|
||||
|
@ -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}";
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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}";
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
, melpaBuild
|
||||
|
||||
, external
|
||||
}@args:
|
||||
}:
|
||||
|
||||
with lib.licenses;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user