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,development}: remove unused fetchpatch (and other) arguments #314137

Merged
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/bm/bmake/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, getopt
, ksh
, bc
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/bp/bpftrace/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch
{ lib, stdenv, fetchFromGitHub
, llvmPackages, elfutils, bcc
, libbpf, libbfd, libopcodes
, cereal, asciidoctor
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/co/connman/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchurl
, fetchpatch
, autoreconfHook
, dbus
, file
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/de/dependabot-cli/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ buildGoModule
, dependabot-cli
, fetchFromGitHub
, fetchpatch
, installShellFiles
, lib
, testers
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/dt/dtools/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, ldc
, curl
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ic/icewm/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, expat
, flac
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/im/imhex/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, cmake
, llvm
, fetchFromGitHub
, fetchpatch
, mbedtls
, gtk3
, pkg-config
Expand Down
4 changes: 0 additions & 4 deletions pkgs/by-name/ki/kikit/solidpython/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
# SolidPython is an unmaintained library with old dependencies.
{ buildPythonPackage
, callPackage
, fetchFromGitHub
, fetchFromGitLab
, fetchpatch
, lib
, pythonRelaxDepsHook

, poetry-core
, prettytable
, pypng
, ply
, setuptools
, euclid3
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/li/libbfio/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, fetchzip
, fetchpatch
, stdenv
, gettext
, libtool
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/li/libcpuid/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook }:
{ lib, stdenv, fetchFromGitHub, autoreconfHook }:

stdenv.mkDerivation rec {
pname = "libcpuid";
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/li/libewf-legacy/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ lib
, fetchurl
, fetchpatch
, stdenv
, zlib
, openssl
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/li/libiconv-darwin/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
atf,
libiconvReal,
meson,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ml/mlx42/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, glfw
, darwin
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/mo/mommy/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, makeWrapper
, writeText
, shellspec
, fetchpatch
# usage:
# pkgs.mommy.override {
# mommySettings.sweetie = "catgirl";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/op/opensnitch/package.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
{ buildGoModule
, fetchFromGitHub
, fetchpatch
, protobuf
, go-protobuf
, pkg-config
, libnetfilter_queue
, libnfnetlink
, lib
, coreutils
, iptables
, makeWrapper
, protoc-gen-go-grpc
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/op/openturns/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
darwin,
dlib,
fetchFromGitHub,
fetchpatch,
hdf5,
hmat-oss,
ipopt,
Expand Down
2 changes: 0 additions & 2 deletions pkgs/by-name/pe/perf_data_converter/package.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
lib,
stdenv,
buildBazelPackage,
fetchFromGitHub,
fetchpatch,
bazel_6,
jdk,
elfutils,
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/pe/perl-debug-adapter/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, buildNpmPackage
, fetchFromGitHub
, fetchpatch
, makeWrapper
, perl
# Needed if you want to use it for a perl script with dependencies.
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/rc/rcu/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, lib
, requireFile
, fetchpatch
, runCommand
, rcu
, testers
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/re/reactphysics3d/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, cmake }:
{ lib, stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation (finalAttrs: {
pname = "reactphysics3d";
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/re/recoverdm/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitLab
, fetchpatch
, installShellFiles
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/re/redict/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitea, fetchurl, fetchpatch, lua, jemalloc, pkg-config, nixosTests
{ lib, stdenv, fetchFromGitea, fetchurl, lua, jemalloc, pkg-config, nixosTests
, tcl, which, ps, getconf
, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
# dependency ordering is broken at the moment when building with openssl
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/sc/scion/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, buildGoModule
, fetchFromGitHub
, fetchpatch2
, nixosTests
}:
let
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/si/silicon/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, stdenv
, rustPlatform
, fetchFromGitHub
, fetchpatch
, pkg-config
, cmake
, expat
Expand Down
2 changes: 1 addition & 1 deletion pkgs/by-name/sw/swaylock/package.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch
{ lib, stdenv, fetchFromGitHub
, meson, ninja, pkg-config, scdoc, wayland-scanner
, wayland, wayland-protocols, libxkbcommon, cairo, gdk-pixbuf, pam
}:
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/tp/tpnote/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, rustPlatform
, cmake
, pkg-config
Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/un/undbx/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, autoreconfHook
}:

Expand Down
1 change: 0 additions & 1 deletion pkgs/by-name/ze/zesarux/package.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, SDL2
, aalib
, alsa-lib
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/ada-modules/gprbuild/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, gprbuild-boot
, which
, gnat
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ccl/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, fetchpatch, runCommand, bootstrap_cmds, coreutils, glibc, m4, runtimeShell }:
{ lib, stdenv, fetchurl, bootstrap_cmds, coreutils, glibc, m4, runtimeShell }:

let
options = rec {
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/ghc/common-hadrian.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
, autoconf
, automake
, coreutils
, fetchpatch
, fetchurl
, fetchgit
, perl
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/ghdl/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{ stdenv
, fetchFromGitHub
, fetchpatch
, callPackage
, gnat
, zlib
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/ispc/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch
{ lib, stdenv, fetchFromGitHub
, cmake, which, m4, python3, bison, flex, llvmPackages, ncurses, xcode, tbb
# the default test target is sse4, but that is not supported by all Hydra agents
, testedTargets ? if stdenv.isAarch64 || stdenv.isAarch32 then [ "neon-i32x4" ] else [ "sse2-i32x4" ]
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/ocaml/ber-metaocaml.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib, stdenv, fetchurl
, ncurses
, libX11, xorgproto, buildEnv
, fetchpatch
, useX11 ? stdenv.hostPlatform.isx86
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/openjdk/openjfx/20.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, writeText, openjdk17_headless
{ stdenv, lib, fetchFromGitHub, writeText, openjdk17_headless
, openjdk19_headless, gradle_7, pkg-config, perl, cmake, gperf, gtk2, gtk3, libXtst
, libXxf86vm, glib, alsa-lib, ffmpeg_4, python3, ruby, fetchurl, runCommand
, withMedia ? true
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/openjdk/openjfx/21.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, fetchpatch, writeText, openjdk17_headless
{ stdenv, lib, fetchFromGitHub, writeText, openjdk17_headless
, openjdk19_headless, gradle_7, pkg-config, perl, cmake, gperf, gtk2, gtk3, libXtst
, libXxf86vm, glib, alsa-lib, ffmpeg_4, python3, ruby, fetchurl, runCommand
, withMedia ? true
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/openjdk/openjfx/22.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, fetchurl
, runCommand
, writeText
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/compilers/solc/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
, boost
, cmake
, coreutils
, fetchpatch
, jq
, ncurses
, python3
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/souffle/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch
{ lib, stdenv, fetchFromGitHub
, bash-completion, perl, ncurses, zlib, sqlite, libffi
, mcpp, cmake, bison, flex, doxygen, graphviz
, makeWrapper
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/compilers/vala/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, fetchpatch, pkg-config, flex, bison, libxslt, autoconf, autoreconfHook
{ stdenv, lib, fetchurl, pkg-config, flex, bison, libxslt, autoconf, autoreconfHook
, gnome, graphviz, glib, libiconv, libintl, libtool, expat, substituteAll, vala, gobject-introspection
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/lfe/2.1.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ fetchpatch, mkDerivation }:
{ mkDerivation }:

mkDerivation {
version = "2.1.3";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/interpreters/lua-5/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# similar to interpreters/python/default.nix
{ stdenv, config, lib, callPackage, fetchFromGitHub, fetchurl, fetchpatch, makeBinaryWrapper }:
{ stdenv, config, lib, callPackage, fetchFromGitHub, fetchurl, makeBinaryWrapper }:


let
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/mesa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
, elfutils
, expat
, fetchCrate
, fetchpatch
, fetchurl
, file
, flex
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/libraries/qt-6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
, generateSplicesForMkScope
, makeScopeWithSplicing'
, fetchurl
, fetchpatch
, fetchpatch2
, makeSetupHook
, makeWrapper
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/bap/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchurl, fetchpatch
{ lib, stdenv, fetchFromGitHub, fetchurl
, ocaml, findlib, ocamlbuild, ocaml_oasis
, bitstring, camlzip, cmdliner, core_kernel, ezjsonm, fileutils, mmap, lwt, ocamlgraph, ocurl, re, uri, zarith, piqi, piqi-ocaml, uuidm, llvm, frontc, ounit, ppx_jane, parsexp
, utop, libxml2, ncurses
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/bisect_ppx/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage, cmdliner, ppxlib }:
{ lib, fetchFromGitHub, buildDunePackage, cmdliner, ppxlib }:

buildDunePackage rec {
pname = "bisect_ppx";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/ocaml-modules/bistro/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
{ lib
, ocaml
, fetchpatch
, fetchFromGitHub
, buildDunePackage
, base64
Expand Down
4 changes: 2 additions & 2 deletions pkgs/development/ocaml-modules/git/unix.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{ buildDunePackage, fetchpatch, git
{ buildDunePackage, git
, rresult, result, bigstringaf
, fmt, bos, fpath, uri, digestif, logs, lwt
, mirage-clock, mirage-clock-unix, astring, awa, cmdliner
, decompress, domain-name, ipaddr, mtime
, tcpip, awa-mirage, mirage-flow, mirage-unix
, alcotest, alcotest-lwt, base64, cstruct
, ke, mirage-crypto-rng, ocurl, git-binary
, ke, mirage-crypto-rng, git-binary
, ptime, mimic, ca-certs-nss, tls, tls-mirage
, cacert, happy-eyeballs-lwt, git-mirage
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/httpaf/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage
{ lib, fetchFromGitHub, buildDunePackage
, angstrom, faraday, result, alcotest
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/piqi-ocaml/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub, fetchpatch, ocaml, findlib, piqi, stdlib-shims, num }:
{ lib, stdenv, fetchFromGitHub, ocaml, findlib, piqi, stdlib-shims, num }:

stdenv.mkDerivation rec {
version = "0.7.8";
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/pyml/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ buildDunePackage
, lib
, fetchFromGitHub
, fetchpatch
, utop
, python3
, stdcompat
Expand Down
Loading