Skip to content

Commit

Permalink
pkgs/applications: remove unused arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigmanificient committed Jul 26, 2024
1 parent 1855c99 commit 2ee703d
Show file tree
Hide file tree
Showing 148 changed files with 59 additions and 202 deletions.
1 change: 0 additions & 1 deletion pkgs/applications/accessibility/squeekboard/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
, meson
, ninja
, pkg-config
, gnome
, gnome-desktop
, glib
, gtk3
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/audio/famistudio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
, libglvnd
, libogg
, libvorbis
, makeWrapper
, openal
, portaudio
, rtmidi
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/audio/faust/faust2lv2.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, faust
, lv2
, qtbase
, which
}:

faust.wrapWithBuildEnv {
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/audio/in-formant/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
, pkg-config
, autoPatchelfHook
, soxr
, freetype
, libsamplerate
, armadillo
, tomlplusplus
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/audio/open-music-kontrollers/generic.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, pkg-config, meson, ninja, libGLU, lv2, serd, sord, libX11, libXext, glew, lv2lint
{ stdenv, lib, fetchurl, pkg-config, meson, ninja, lv2, sord, libX11, libXext, glew, lv2lint
, pname, version, sha256, description
, url ? "https://git.open-music-kontrollers.ch/lv2/${pname}.lv2/snapshot/${pname}.lv2-${version}.tar.xz"
, additionalBuildInputs ? []
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/audio/pipecontrol/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, pipewire
, cmake
, extra-cmake-modules
, gnumake
, wrapQtAppsHook
, qtbase
, qttools
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/audio/viper4linux/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, gst_all_1
, libviperfx
, makeWrapper
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/backup/timeshift/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ callPackage
, timeshift-unwrapped
, lib
, rsync
, coreutils
, mount
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/blockchains/bitcoin-knots/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
, qtbase ? null
, qttools ? null
, python3
, nixosTests
, withGui
, withWallet ? true
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/blockchains/electrs/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, rustPlatform
, fetchFromGitHub
, llvmPackages
, rocksdb_7_10
, Security
}:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ fetchFromGitHub
, stdenv
, makeDesktopItem
, lib
, openssl
, boost
Expand Down
4 changes: 1 addition & 3 deletions pkgs/applications/blockchains/lighthouse/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ clang
, cmake
{ cmake
, CoreFoundation
, fetchFromGitHub
, fetchurl
Expand All @@ -18,7 +17,6 @@
, stdenv
, SystemConfiguration
, testers
, unzip
}:

rustPlatform.buildRustPackage rec {
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/blockchains/lnd/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ buildGoModule
, fetchFromGitHub
, lib
, go
, tags ? [ "autopilotrpc" "signrpc" "walletrpc" "chainrpc" "invoicesrpc" "watchtowerrpc" "routerrpc" "monitoring" "kvdb_postgres" "kvdb_etcd" ]
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/blockchains/nearcore/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ rustPlatform, lib, fetchFromGitHub
, zlib, openssl
, pkg-config, protobuf, llvmPackages
, pkg-config, protobuf
}:
rustPlatform.buildRustPackage rec {
pname = "nearcore";
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/blockchains/snarkos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
, curl
, pkg-config
, openssl
, llvmPackages
}:
rustPlatform.buildRustPackage rec {
pname = "snarkos";
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/blockchains/sparrow/fhsenv.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, buildFHSEnv
{ buildFHSEnv
, sparrow-unwrapped
}:

Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/blockchains/terra-station/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{ lib, stdenv
, fetchurl
, dpkg
, util-linux
, bash
, makeWrapper
, electron
, asar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
markdown-mode,
melpaBuild,
unstableGitUpdater,
writeText,
}:

melpaBuild {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, stdenv
, writeText
, melpaStablePackages
, runCommand
, tree-sitter-grammars
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
{ lib
, callPackage
, clangStdenv
, cmake
, fetchFromGitHub
, gcc
, git
, llvmPackages_13
# Libraries
, argparse
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/micro/test-with-expect.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ micro, expect, runCommand, writeScript, runtimeShell }:
{ micro, expect, runCommand, writeScript }:

let expect-script = writeScript "expect-script" ''
#!${expect}/bin/expect -f
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/nano/test-with-expect.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ nano, expect, runCommand, writeScriptBin, runtimeShell }:
{ nano, expect, runCommand, writeScriptBin }:

let expect-script = writeScriptBin "expect-script" ''
#!${expect}/bin/expect -f
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/neovim/tests/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# run tests by building `neovim.tests`
{ vimUtils, writeText, neovim, vimPlugins
, lib, neovimUtils, wrapNeovimUnstable
, neovimUtils, wrapNeovimUnstable
, neovim-unwrapped
, fetchFromGitLab
, runCommandLocal
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/quartus-prime/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildFHSEnv, callPackage, makeDesktopItem, writeScript, runtimeShell
{ lib, buildFHSEnv, callPackage, makeDesktopItem, runtimeShell
, runCommand, unstick, quartus-prime-lite
, withQuesta ? true
, supportedDevices ? [ "Arria II" "Cyclone V" "Cyclone IV" "Cyclone 10 LP" "MAX II/V" "MAX 10 FPGA" ]
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/editors/rstudio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, mkDerivation
, fetchurl
, fetchpatch
, fetchFromGitHub
, makeDesktopItem
, copyDesktopItems
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/editors/thonny/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3, tk, makeDesktopItem, copyDesktopItems }:
{ lib, fetchFromGitHub, python3, makeDesktopItem, copyDesktopItems }:

with python3.pkgs;

Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/editors/typora/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,12 @@
, glib
, nss
, nspr
, at-spi2-atk
, cups
, dbus
, libdrm
, gtk3
, pango
, cairo
, xorg
, libxkbcommon
, mesa
, expat
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/editors/vim/full.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
, vimPlugins
, makeWrapper
, wrapGAppsHook3
, runtimeShell

# apple frameworks
, CoreServices, CoreData, Cocoa, Foundation, libobjc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
bash,
ocaml,
ocamlPackages,
dune_3,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
lib,
vscode-utils,
writeScript,
runtimeShell,
jq,
clang-tools,
gdbUseFixed ? true,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
pkgs,
lib,
stdenv,
fetchFromGitHub,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, appstream-glib
, desktop-file-utils
, gettext
, glib
, gobject-introspection
, gtk3
, gtk4
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/file-managers/ranger/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, python3Packages, file, less, highlight, w3m, ranger, imagemagick, testers
{ lib, fetchFromGitHub, python3Packages, file, less, highlight, w3m, imagemagick
, imagePreviewSupport ? true
, sixelPreviewSupport ? true
, neoVimSupport ? true
Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/gis/qgis/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, makeWrapper
{ makeWrapper
, nixosTests
, symlinkJoin

Expand Down
3 changes: 1 addition & 2 deletions pkgs/applications/gis/qgis/ltr.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, makeWrapper
{ makeWrapper
, nixosTests
, symlinkJoin

Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/epick/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
, freetype
, libGL
, xorg
, darwin
, AppKit
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/gimp/plugins/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# If you just want a subset of plug-ins, you can specify them explicitly:
# `gimp-with-plugins.override { plugins = with gimpPlugins; [ gap ]; }`.

{ config, lib, pkgs }:
{ lib, pkgs }:

let
inherit (pkgs) stdenv fetchurl fetchpatch fetchpatch2 pkg-config intltool glib fetchFromGitHub fetchFromGitLab;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/graphics/lazpaint/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, lazarus, fpc, pango, cairo, glib
, atk, gtk2, libX11, gdk-pixbuf, busybox, python3
, atk, gtk2, libX11, gdk-pixbuf, python3
, makeWrapper
}:

Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/ocrfeeder/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
, goocanvas2
, gtkspell3
, isocodes
, gnome
, python3
, tesseract4
, extraOcrEngines ? [] # other supported engines are: ocrad gocr cuneiform
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/pick-colour-picker/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
, gtk3
, gobject-introspection
, wrapGAppsHook3
, python
}:

buildPythonPackage rec {
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/pixinsight/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, requireFile
, wrapQtAppsHook
, autoPatchelfHook
, makeWrapper
, unixtools
, fakeroot
, mailcap
Expand Down
2 changes: 0 additions & 2 deletions pkgs/applications/graphics/pizarra/default.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{ lib
, fetchFromGitLab
, rustPlatform
, cargo
, pkg-config
, binutils-unwrapped
, gtk3-x11
, atk
, glib
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/qscreenshot/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchgit
, dos2unix
, qtbase
, qttools
, qtx11extras
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, callPackage, patchelf, makeWrapper, libusb1, avahi-compat, glib, libredirect, nixosTests }:
{ stdenv, lib, fetchurl, patchelf, makeWrapper, libusb1, avahi-compat, glib, libredirect, nixosTests }:
let
myPatchElf = file: with lib; ''
patchelf --set-interpreter \
Expand Down
4 changes: 2 additions & 2 deletions pkgs/applications/graphics/seamly2d/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ stdenv, lib, qtbase, wrapQtAppsHook, fetchFromGitHub,
addOpenGLRunpath, poppler_utils, qtxmlpatterns, qtsvg, mesa, gcc, xvfb-run,
fontconfig, freetype, xorg, ccache, qmake, python3, qttools, git
addOpenGLRunpath, poppler_utils, qtxmlpatterns, qtsvg, mesa, xvfb-run,
fontconfig, freetype, xorg, qmake, python3, qttools, git
}:
let
qtPython = python3.withPackages (pkgs: with pkgs; [ pyqt5 ]);
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/trimage/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, substituteAll

, python3
, installShellFiles
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/graphics/vengi-tools/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, writeText

, cmake
, pkg-config
Expand Down
2 changes: 1 addition & 1 deletion pkgs/applications/kde/kdevelop/kdevelop.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ mkDerivation, lib, cmake, gettext, pkg-config, extra-cmake-modules
, qtquickcontrols, qttools, kde-cli-tools, qtbase
, qtquickcontrols, qttools, kde-cli-tools
, kconfig, kdeclarative, kdoctools, kiconthemes, ki18n, kitemmodels, kitemviews
, kjobwidgets, kcmutils, kio, knewstuff, knotifyconfig, kparts, ktexteditor
, threadweaver, kxmlgui, kwindowsystem, grantlee, kcrash, karchive, kguiaddons
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/kde/palapeli.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, mkDerivation
, extra-cmake-modules
, shared-mime-info
, kconfig
, kdoctools
, kio
, ktextwidgets
Expand Down
1 change: 0 additions & 1 deletion pkgs/applications/maui/mauikit.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
, ki18n
, knotifications
, mauiman
, qtbase
, qtquickcontrols2
, qtx11extras
}:
Expand Down
Loading

0 comments on commit 2ee703d

Please sign in to comment.