Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkgs/by-name: remove unused arguments #328726

Merged
merged 1 commit into from
Jul 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion pkgs/by-name/_2/_2ship2harkinian/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
copyDesktopItems,
makeDesktopItem,
python3,
boost,
SDL2,
pkg-config,
libpulseaudio,
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/af/affine/package.nix
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{ lib
, writeText
, fetchurl
, stdenvNoCC
, copyDesktopItems
, makeDesktopItem
, makeWrapper
, unzip
, bash
, electron
, commandLineArgs ? ""
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/al/alephone-eternal/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ alephone, fetchurl, unrar }:
{ alephone, fetchurl }:

alephone.makeWrapper rec {
pname = "marathon-eternal";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/al/alephone-evil/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ alephone, fetchurl, unrar }:
{ alephone, fetchurl }:

alephone.makeWrapper rec {
pname = "marathon-evil";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/al/alephone-red/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ alephone, fetchurl, unrar }:
{ alephone, fetchurl }:

alephone.makeWrapper rec {
pname = "marathon-red";
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/am/am2rlauncher/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
, openssl
, xdelta
, file
, busybox
, openjdk
, patchelf
, fetchFromGitHub
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ap/apvlv/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
libxml2,
libxshmfence,
man,
nix-update-script,
pcre,
pkg-config,
poppler,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/at/atf/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
fetchpatch,
autoreconfHook,
kyua,
pkg-config,
gitUpdater,
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/au/authentik/ldap.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, authentik }:
{ buildGoModule, authentik }:

buildGoModule {
pname = "authentik-ldap-outpost";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/au/authentik/radius.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildGoModule, authentik }:
{ buildGoModule, authentik }:

buildGoModule {
pname = "authentik-radius-outpost";
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/bl/blanket/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
wrapGAppsHook4,
blueprint-compiler,
desktop-file-utils,
appstream-glib,
python3Packages,
glib,
gtk4,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/bt/bt-migrate/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
, fmt
, jsoncons
, pugixml
, sqlite
, sqlite_orm
, stdenv
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ce/celeste64/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
copyDesktopItems,
SDL2,
libGL,
mesa,
systemd,
libpulseaudio,
libselinux,
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/cl/clojure-lsp/package.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
{
lib,
buildGraalvmNativeImage,
babashka,
fetchurl,
fetchFromGitHub,
clojure,
writeScript,
testers,
clojure-lsp,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/co/cosmic-edit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
stdenv,
fetchFromGitHub,
rustPlatform,
cmake,
makeBinaryWrapper,
cosmic-icons,
just,
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/co/cosmic-store/package.nix
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/co/cosmic-term/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
, libinput
, libxkbcommon
, makeBinaryWrapper
, mesa
, pkg-config
, rustPlatform
, stdenv
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/cu/cue/tests/001-all-good.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, cue
{ cue
, runCommand
}:

Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/de/deltachat-repl/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, rustPlatform
{ rustPlatform
, libdeltachat
, perl
, pkg-config
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/de/deltachat-rpc-server/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, rustPlatform
{ rustPlatform
, libdeltachat
, perl
, pkg-config
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/dp/dpp/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
, zlib
, libsodium
, pkg-config
, autoPatchelfHook
, lib
}:
stdenv.mkDerivation (finalAttrs: {
Expand Down
20 changes: 20 additions & 0 deletions pkgs/by-name/du/duckstation/shaderc-patched.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
fetchpatch,
duckstation,
shaderc,
}:

shaderc.overrideAttrs (old: {
pname = "shaderc-patched-for-duckstation";
patches = (old.patches or [ ]) ++ [
(fetchpatch {
url = "file://${duckstation.src}/scripts/shaderc-changes.patch";
hash = "sha256-Ps/D+CdSbjVWg3ZGOEcgbpQbCNkI5Nuizm4E5qiM9Wo=";
excludes = [
"CHANGES"
"CMakeLists.txt"
"libshaderc/CMakeLists.txt"
];
})
];
})
3 changes: 1 addition & 2 deletions pkgs/by-name/ed/edido/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, writeShellApplication
{ writeShellApplication
, bc
, diffutils
, findutils
Expand Down
4 changes: 1 addition & 3 deletions pkgs/by-name/ei/eintopf/frontend.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{ lib
, stdenv
{ stdenv
, fetchYarnDeps
, fixup-yarn-lock
, yarn
, fetchFromGitea
, src
, version
, nodejs
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/el/elvish/tests/expect-version.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, stdenv
{ stdenv
, elvish
, substituteAll
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/et/ethercat/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ autoreconfHook
, cmake
, lib
, pkg-config
, stdenv
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ex/exe2hex/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, stdenv
, fetchFromGitHub
, python3Packages
, expect
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ey/eyewitness/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, fetchFromGitHub
, python3Packages
, cmake
, xvfb-run
, firefox-esr
, geckodriver
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/fi/fira-math/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fira-math, python3, stdenvNoCC }:
{ lib, fetchFromGitHub, python3, stdenvNoCC }:

let
pname = "fira-math";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/fo/fooyin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@
, ffmpeg
, kdePackages
, kdsingleapplication
, openssl
, pipewire
, taglib
, zlib
}:

stdenv.mkDerivation (finalAttrs: {
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/fo/forgejo/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, brotli
, buildGoModule
, forgejo
, fetchpatch
, git
, gzip
, lib
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/gf/gfal2/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, stdenv
, callPackage
, fetchFromGitHub
# Native build inputs
, cmake
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/gh/ghdl/test-simple.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, ghdl-llvm, ghdl-mcode, ghdl-gcc, backend }:
{ stdenv, ghdl-llvm, ghdl-mcode, ghdl-gcc, backend }:

let
ghdl = if backend == "llvm" then ghdl-llvm else if backend == "gcc" then ghdl-gcc else ghdl-mcode;
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/gh/ghex/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
, appstream-glib
, gettext
, itstool
, libxml2
, gtk4
, libadwaita
, glib
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/gi/git-get/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, git, buildGoModule }:
{ lib, fetchFromGitHub, buildGoModule }:

let config-module = "git-get/pkg/cfg";
in
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/gi/git-instafix/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ git
, lib
, libgit2
, makeWrapper
, rustPlatform
, stdenv
, fetchFromGitHub
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/go/goldwarden/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, blueprint-compiler
, buildGoModule
, fetchFromGitHub
, fetchpatch
, gobject-introspection
, gtk4
, libadwaita
Expand Down
3 changes: 0 additions & 3 deletions pkgs/by-name/gp/gprename/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
makeWrapper,
moreutils,
perlPackages,
gettext,
glib,
gtk3,
gobject-introspection,
pango,
harfbuzz,
gdk-pixbuf,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ha/handheld-daemon/package.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
config,
fetchFromGitHub,
hidapi,
kmod,
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/ha/haunt/tests/001-test-version.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, stdenv
{ stdenv
, haunt
}:

Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/he/hextazy/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
lib,
stdenv,
fetchFromGitHub,
rustPlatform,
}:
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/ht/htb-toolkit/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
, coreutils
, gnome-keyring
, libsecret
, bash
, openvpn
, nerdfonts
, gzip
, killall
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/io/ios-webkit-debug-proxy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,

autoconf,
automake,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/it/itools/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, autoreconfHook
, pkgs
, pkg-config
, perl
, libitl
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/jn/jnr-posix/package.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, dpkg
, jdk
, makeWrapper
, maven
, which
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/la/lager/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, boost
, immer
, zug
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/ld/ldc/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
, llvm_17
, curl
, tzdata
, libconfig
, lit
, gdb
, unzip
, darwin
, bash
, callPackage
, makeWrapper
, runCommand
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/li/libcircle/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, autoreconfHook
, pkg-config
, mpi
, lwgrp
}:

stdenv.mkDerivation rec {
Expand Down
3 changes: 1 addition & 2 deletions pkgs/by-name/li/libgnome-keyring/package.nix
Original file line number Diff line number Diff line change
@@ -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: {
Expand Down
Loading