Merge pull request #328726 from Sigmanificient/remove-unused-args-by-name

pkgs/by-name: remove unused arguments
This commit is contained in:
Aleksana
2024-07-26 22:06:15 +08:00
committed by GitHub
88 changed files with 15 additions and 107 deletions
@@ -9,7 +9,6 @@
copyDesktopItems,
makeDesktopItem,
python3,
boost,
SDL2,
pkg-config,
libpulseaudio,
-2
View File
@@ -1,12 +1,10 @@
{ lib
, writeText
, fetchurl
, stdenvNoCC
, copyDesktopItems
, makeDesktopItem
, makeWrapper
, unzip
, bash
, electron
, commandLineArgs ? ""
}:
+1 -1
View File
@@ -1,4 +1,4 @@
{ alephone, fetchurl, unrar }:
{ alephone, fetchurl }:
alephone.makeWrapper rec {
pname = "marathon-eternal";
+1 -1
View File
@@ -1,4 +1,4 @@
{ alephone, fetchurl, unrar }:
{ alephone, fetchurl }:
alephone.makeWrapper rec {
pname = "marathon-evil";
+1 -1
View File
@@ -1,4 +1,4 @@
{ alephone, fetchurl, unrar }:
{ alephone, fetchurl }:
alephone.makeWrapper rec {
pname = "marathon-red";
-1
View File
@@ -11,7 +11,6 @@
, openssl
, xdelta
, file
, busybox
, openjdk
, patchelf
, fetchFromGitHub
-1
View File
@@ -15,7 +15,6 @@
libxml2,
libxshmfence,
man,
nix-update-script,
pcre,
pkg-config,
poppler,
-1
View File
@@ -5,7 +5,6 @@
fetchpatch,
autoreconfHook,
kyua,
pkg-config,
gitUpdater,
}:
-1
View File
@@ -7,7 +7,6 @@
wrapGAppsHook4,
blueprint-compiler,
desktop-file-utils,
appstream-glib,
python3Packages,
glib,
gtk4,
-1
View File
@@ -7,7 +7,6 @@
, fmt
, jsoncons
, pugixml
, sqlite
, sqlite_orm
, stdenv
}:
-1
View File
@@ -7,7 +7,6 @@
copyDesktopItems,
SDL2,
libGL,
mesa,
systemd,
libpulseaudio,
libselinux,
-2
View File
@@ -1,10 +1,8 @@
{
lib,
buildGraalvmNativeImage,
babashka,
fetchurl,
fetchFromGitHub,
clojure,
writeScript,
testers,
clojure-lsp,
-1
View File
@@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
rustPlatform,
cmake,
makeBinaryWrapper,
cosmic-icons,
just,
+1 -1
View File
@@ -1,6 +1,6 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, appstream, makeBinaryWrapper
, cosmic-icons, glib, just, pkg-config, libglvnd, libxkbcommon, libinput
, fontconfig, flatpak, freetype, openssl, mesa, wayland, xorg, vulkan-loader
, fontconfig, flatpak, freetype, openssl, wayland, xorg, vulkan-loader
, vulkan-validation-layers, }:
rustPlatform.buildRustPackage rec {
-1
View File
@@ -8,7 +8,6 @@
, libinput
, libxkbcommon
, makeBinaryWrapper
, mesa
, pkg-config
, rustPlatform
, stdenv
-1
View File
@@ -6,7 +6,6 @@
, zlib
, libsodium
, pkg-config
, autoPatchelfHook
, lib
}:
stdenv.mkDerivation (finalAttrs: {
+1 -2
View File
@@ -1,5 +1,4 @@
{ lib
, writeShellApplication
{ writeShellApplication
, bc
, diffutils
, findutils
-1
View File
@@ -1,5 +1,4 @@
{ autoreconfHook
, cmake
, lib
, pkg-config
, stdenv
-1
View File
@@ -1,5 +1,4 @@
{ lib
, stdenv
, fetchFromGitHub
, python3Packages
, expect
-1
View File
@@ -1,7 +1,6 @@
{ lib
, fetchFromGitHub
, python3Packages
, cmake
, xvfb-run
, firefox-esr
, geckodriver
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fira-math, python3, stdenvNoCC }:
{ lib, fetchFromGitHub, python3, stdenvNoCC }:
let
pname = "fira-math";
-2
View File
@@ -7,10 +7,8 @@
, ffmpeg
, kdePackages
, kdsingleapplication
, openssl
, pipewire
, taglib
, zlib
}:
stdenv.mkDerivation (finalAttrs: {
-1
View File
@@ -2,7 +2,6 @@
, brotli
, buildGoModule
, forgejo
, fetchpatch
, git
, gzip
, lib
-1
View File
@@ -1,6 +1,5 @@
{ lib
, stdenv
, callPackage
, fetchFromGitHub
# Native build inputs
, cmake
-1
View File
@@ -10,7 +10,6 @@
, appstream-glib
, gettext
, itstool
, libxml2
, gtk4
, libadwaita
, glib
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, git, buildGoModule }:
{ lib, fetchFromGitHub, buildGoModule }:
let config-module = "git-get/pkg/cfg";
in
-1
View File
@@ -1,7 +1,6 @@
{ git
, lib
, libgit2
, makeWrapper
, rustPlatform
, stdenv
, fetchFromGitHub
-1
View File
@@ -2,7 +2,6 @@
, blueprint-compiler
, buildGoModule
, fetchFromGitHub
, fetchpatch
, gobject-introspection
, gtk4
, libadwaita
-3
View File
@@ -5,10 +5,7 @@
makeWrapper,
moreutils,
perlPackages,
gettext,
glib,
gtk3,
gobject-introspection,
pango,
harfbuzz,
gdk-pixbuf,
@@ -1,5 +1,4 @@
{
config,
fetchFromGitHub,
hidapi,
kmod,
-1
View File
@@ -1,6 +1,5 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
}:
-2
View File
@@ -8,9 +8,7 @@
, coreutils
, gnome-keyring
, libsecret
, bash
, openvpn
, nerdfonts
, gzip
, killall
}:
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
autoconf,
automake,
-1
View File
@@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkgs
, pkg-config
, perl
, libitl
-2
View File
@@ -1,9 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, dpkg
, jdk
, makeWrapper
, maven
, which
}:
-1
View File
@@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, boost
, immer
, zug
-2
View File
@@ -6,12 +6,10 @@
, llvm_17
, curl
, tzdata
, libconfig
, lit
, gdb
, unzip
, darwin
, bash
, callPackage
, makeWrapper
, runCommand
-1
View File
@@ -4,7 +4,6 @@
, autoreconfHook
, pkg-config
, mpi
, lwgrp
}:
stdenv.mkDerivation rec {
+1 -2
View File
@@ -1,5 +1,4 @@
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, gnome
, testers
{ lib, stdenv, fetchurl, glib, dbus, libgcrypt, pkg-config, intltool, gobject-introspection, testers
}:
stdenv.mkDerivation (finalAttrs: {
-1
View File
@@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, cmake
, fetchpatch
}:
stdenv.mkDerivation (finalAttrs: {
@@ -1,7 +1,6 @@
{
stdenv,
config,
pkgs,
lib,
fetchFromGitHub,
cmake,
-1
View File
@@ -1,5 +1,4 @@
{ buildGoModule
, config
, fetchFromGitHub
, lib
, nixosTests
@@ -13,7 +13,6 @@
libsForQt5,
python3,
stdenv,
yt-dlp,
}:
stdenv.mkDerivation (finalAttrs: {
+1 -1
View File
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchurl, pkgsi686Linux, dpkg, makeWrapper, coreutils, gnused, gawk, file, cups, util-linux, xxd, runtimeShell
, ghostscript, a2ps, bash }:
, ghostscript, a2ps }:
# Why:
# The executable "brprintconf_mfcj880dw" binary is looking for "/opt/brother/Printers/%s/inf/br%sfunc" and "/opt/brother/Printers/%s/inf/br%src".
-1
View File
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, runtimeShell
}:
stdenv.mkDerivation rec {
-1
View File
@@ -7,7 +7,6 @@
, desktop-file-utils
, glib
, glib-networking
, gobject-introspection
, gst_all_1
, gtk4
, libadwaita
-1
View File
@@ -7,7 +7,6 @@
, nixVersions
, nixPackage ? nixVersions.nix_2_18
, darwin
, nukeReferences
}:
let
@@ -4,7 +4,6 @@
lib,
runCommand,
nixfmt-rfc-style,
fetchpatch,
}:
let
inherit (haskell.lib.compose) overrideCabal justStaticExecutables;
-1
View File
@@ -2,7 +2,6 @@
, symlinkJoin
, callPackage
, fetchFromGitHub
, fetchurl
, buildGoModule
, makeWrapper
, breakpointHook
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, callPackage }:
{ stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec {
pname = "nvidia-docker";
version = "2.5.0";
-1
View File
@@ -2,7 +2,6 @@
lib,
rustPlatform,
fetchFromGitHub,
nix-update-script,
oo7,
openssl,
pkg-config,
-1
View File
@@ -1,7 +1,6 @@
{ lib
, rustPlatform
, fetchFromGitHub
, pkg-config
}:
rustPlatform.buildRustPackage rec {
-1
View File
@@ -4,7 +4,6 @@
fetchFromGitHub,
unstableGitUpdater,
nodejs,
bash,
asar,
unzip,
}:
-2
View File
@@ -1,8 +1,6 @@
{ lib
, fetchFromGitHub
, buildGoModule
, paralus-cli
, testers
}:
buildGoModule rec {
@@ -1,7 +1,6 @@
{
fetchFromGitHub,
lib,
llvmPackages,
rustPlatform,
}:
rustPlatform.buildRustPackage rec {
-1
View File
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, substituteAll
, lcms
, cmake
, pkg-config
@@ -1,7 +1,6 @@
{ lib
, buildNpmPackage
, fetchFromGitHub
, makeWrapper
, perl
# Needed if you want to use it for a perl script with dependencies.
, extraPerlPackages ? []
-1
View File
@@ -1,6 +1,5 @@
{ lib
, stdenv
, ruby
, bundlerEnv
, buildPackages
, fetchFromGitHub
-1
View File
@@ -3,7 +3,6 @@
buildGoModule,
fetchFromGitHub,
stdenv,
darwin,
copyDesktopItems,
makeDesktopItem,
@@ -1,7 +1,6 @@
{ lib
, python3
, fetchFromGitHub
, nixosTests
}:
python3.pkgs.buildPythonApplication rec {
+1 -2
View File
@@ -1,5 +1,4 @@
{ pkgs
, stdenv
{ stdenv
, lib
, fetchFromGitHub
, buildDotnetModule
-2
View File
@@ -5,7 +5,6 @@
, pkg-config
, automake
, autoconf
, m4
, libtool
, gtk3
, libv3270
@@ -13,7 +12,6 @@
, openssl
, gettext
, desktop-file-utils
, glib
, wrapGAppsHook3
}:
-1
View File
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, gitUpdater
, boost
, cmake
@@ -2,7 +2,6 @@
, python3
, python3Packages
, fetchFromGitLab
, makeWrapper
, fetchpatch
, rspamd
}:
-2
View File
@@ -1,7 +1,5 @@
{ lib
, stdenv
, autoreconfHook
, bash
, boost
, bzip2
, cereal_1_3_2
-1
View File
@@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
pkg-config,
ffmpeg,
poco,
-2
View File
@@ -1,7 +1,5 @@
{
lib,
pkgs,
stdenv,
fetchFromGitHub,
python3Packages,
}:
-1
View File
@@ -4,7 +4,6 @@
, desktop-file-utils
, glib
, gobject-introspection
, gtk4
, meson
, ninja
, wrapGAppsHook4
+1 -1
View File
@@ -1,4 +1,4 @@
{ lib, buildNimPackage, fetchFromGitea, raylib }:
{ lib, buildNimPackage, fetchFromGitea }:
buildNimPackage (finalAttrs: {
pname = "snekim";
@@ -7,7 +7,6 @@
, xorg
, gtk3
, webkitgtk
, gsettings-desktop-schemas
, snippetexpanderd
, snippetexpanderx
}:
@@ -3,8 +3,6 @@
, stdenv
, fetchYarnDeps
, yarnConfigHook
, yarnBuildHook
, nodejs
, fetchFromGitHub
, typescript
, jq
@@ -7,7 +7,6 @@
, just
, rust-script
, installShellFiles
, bzip2
, nettle
, openssl
, sqlite
-1
View File
@@ -6,7 +6,6 @@
, less
, xdg-utils
, testers
, runCommand
, stackit-cli
}:
@@ -14,7 +14,6 @@
nix-update-script,
nixosTests,
rocksdb_8_11,
callPackage,
}:
let
-1
View File
@@ -1,7 +1,6 @@
{
atk,
fetchzip,
glib,
gtk2,
jdk,
lib,
-1
View File
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, cmake
, coin-utils
, coinmp
, gfortran
-1
View File
@@ -8,7 +8,6 @@
fetchFromGitHub,
cmake,
libuuid,
gnutls,
python3,
xdg-utils,
installShellFiles,
-4
View File
@@ -3,16 +3,13 @@
, cmake
, pkg-config
, python3
, ruby
, rake
, git
, curl
, fetchFromGitHub
, libGL
, libGLU
, alsa-lib
, libX11
, xorgproto
, libICE
, libXi
, libXScrnSaver
@@ -30,7 +27,6 @@
, libdecor
, pipewire
, libpulseaudio
, libiconv
# Whether to build TIC-80's "Pro" version, which is an incentive to support the project financially,
# that enables some additional features. It is, however, fully open source.
, withPro ? false
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchurl
, cmake
, pkg-config
, openssl
@@ -3,7 +3,6 @@
stdenvNoCC,
fetchgit,
gitUpdater,
rename,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
-1
View File
@@ -17,7 +17,6 @@
, wayland
, gocryptfs
, cryfs
, cmake
}:
stdenv.mkDerivation rec {
+1 -1
View File
@@ -1,4 +1,4 @@
{ stdenv, buildNpmPackage, fetchFromGitHub, electron, makeWrapper, python3, makeDesktopItem, nix-update-script, lib }:
{ stdenv, buildNpmPackage, fetchFromGitHub, electron, makeWrapper, python3, makeDesktopItem, lib }:
buildNpmPackage rec {
pname = "vieb";
@@ -1,4 +1,4 @@
{ config, lib, pkgs }:
{ lib, pkgs }:
lib.makeScope pkgs.newScope (self: {
-1
View File
@@ -4,7 +4,6 @@
dbus,
fetchFromGitHub,
fontconfig,
libffi,
libpulseaudio,
libxkbcommon,
pkg-config,
-1
View File
@@ -1,7 +1,6 @@
{ lib
, fetchFromGitHub
, python3
, x509-limbo
}:
python3.pkgs.buildPythonPackage {
-1
View File
@@ -2,7 +2,6 @@
lib,
stdenvNoCC,
fetchFromGitHub,
bash,
imagemagick,
makeWrapper,
}:
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchurl, pkg-config }:
{ lib, buildGoModule, fetchurl }:
buildGoModule rec {
pname = "zabbix-agent2-plugin-postgresql";
-1
View File
@@ -1,6 +1,5 @@
{ lib
, stdenv
, pkgs
, fetchFromGitHub
, cmake
, boost