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/development/ocaml-modules: remove unused arguments #327516

Merged
merged 1 commit into from
Jul 17, 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
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/alcotest/lwt.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, alcotest, logs, lwt, fmt
{ buildDunePackage, alcotest, logs, lwt, fmt
, re, cmdliner
}:

Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/ocaml-modules/asetmap/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, fetchurl
{ fetchurl
, buildDunePackage
, topkg
, findlib
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/atdgen/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildDunePackage, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, biniou, re, yojson
{ buildDunePackage, alcotest, atd, atdgen-codec-runtime, atdgen-runtime, re
, python3
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/awa/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
, ppx_sexp_conv
, mirage-crypto, mirage-crypto-ec, mirage-crypto-rng, mirage-crypto-pk
, x509, cstruct, cstruct-unix, cstruct-sexp, sexplib, eqaf-cstruct
, rresult, mtime, logs, fmt, cmdliner, base64
, mtime, logs, fmt, cmdliner, base64
, zarith
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/batteries/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, buildDunePackage, ocaml, qtest, qcheck, num, camlp-streams
{ lib, fetchFromGitHub, buildDunePackage, ocaml, qtest, qcheck, num, camlp-streams
, doCheck ? lib.versionAtLeast ocaml.version "4.08"
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/bigstringaf/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigarray-compat, pkg-config }:
{ lib, fetchFromGitHub, buildDunePackage, alcotest, pkg-config }:

buildDunePackage rec {
pname = "bigstringaf";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/async.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, async_kernel, async_unix, caqti, core_kernel }:
{ buildDunePackage, async_kernel, async_unix, caqti, core_kernel }:

buildDunePackage {
pname = "caqti-async";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/driver-mariadb.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, mariadb }:
{ buildDunePackage, caqti, mariadb }:

buildDunePackage {
pname = "caqti-driver-mariadb";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/driver-postgresql.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, postgresql }:
{ buildDunePackage, caqti, postgresql }:

buildDunePackage {
pname = "caqti-driver-postgresql";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/driver-sqlite3.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, ocaml_sqlite3, alcotest }:
{ buildDunePackage, caqti, ocaml_sqlite3, alcotest }:

buildDunePackage {
pname = "caqti-driver-sqlite3";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/dynload.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, findlib }:
{ buildDunePackage, caqti, findlib }:

buildDunePackage {
pname = "caqti-dynload";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/lwt.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, caqti, logs, lwt }:
{ buildDunePackage, caqti, logs, lwt }:

buildDunePackage {
pname = "caqti-lwt";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/caqti/type-calendar.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, calendar, caqti }:
{ buildDunePackage, calendar, caqti }:

buildDunePackage {
pname = "caqti-type-calendar";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/ocaml-modules/carton/git.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{ buildDunePackage, carton, carton-lwt
, bigstringaf, lwt, fpath, result
, fmt, decompress, astring
, alcotest, alcotest-lwt, cstruct, logs
, mirage-flow, rresult, ke
}:

buildDunePackage {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cmdliner/1_0.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
{ lib, stdenv, fetchurl, ocaml }:

assert (lib.versionAtLeast ocaml.version "4.03");

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cmdliner/1_1.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, result }:
{ lib, stdenv, fetchurl, ocaml }:

lib.throwIfNot (lib.versionAtLeast ocaml.version "4.08")
"cmdliner 1.1 is not available for OCaml ${ocaml.version}"
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/ocaml-modules/cohttp/async.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, ppx_sexp_conv
, base
, async
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cohttp/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{ lib, fetchurl, buildDunePackage
, ppx_sexp_conv, base64, jsonm, re, stringext, uri-sexp
, ocaml, fmt, alcotest
, fmt, alcotest
, crowbar
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cohttp/lwt-jsoo.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, cohttp, cohttp-lwt, logs, lwt, js_of_ocaml, js_of_ocaml-ppx, js_of_ocaml-lwt
, nodejs, lwt_ppx
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cohttp/lwt-unix.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp-lwt
{ buildDunePackage, cohttp-lwt
, conduit-lwt-unix, conduit-lwt, ppx_sexp_conv
, cmdliner, fmt, logs, magic-mime
, ounit
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cohttp/lwt.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp, lwt, uri, ppx_sexp_conv, logs, sexplib0 }:
{ buildDunePackage, cohttp, lwt, uri, ppx_sexp_conv, logs, sexplib0 }:

buildDunePackage {
pname = "cohttp-lwt";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cohttp/top.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, cohttp }:
{ buildDunePackage, cohttp }:

buildDunePackage {
pname = "cohttp-top";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/conduit/async.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, async, async_ssl ? null, ppx_sexp_conv, ppx_here, uri, conduit
{ buildDunePackage, async, async_ssl ? null, ppx_sexp_conv, ppx_here, uri, conduit
, core, ipaddr, ipaddr-sexp, sexplib
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/cstruct/async.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, cstruct, async_unix, async, core }:
{ buildDunePackage, cstruct, async_unix, async, core }:

buildDunePackage rec {
pname = "cstruct-async";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/csv/csvtool.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, ocamlPackages }:
{ ocamlPackages }:

let inherit (ocamlPackages) buildDunePackage csv uutf; in

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/csv/lwt.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, csv, lwt }:
{ buildDunePackage, csv, lwt }:

buildDunePackage {
pname = "csv-lwt";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/curly/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, lib, buildDunePackage, fetchurl, ocaml
, result, alcotest, cohttp-lwt-unix, odoc, curl, cacert
, result, alcotest, cohttp-lwt-unix, curl, cacert
}:

buildDunePackage rec {
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/ocaml-modules/data-encoding/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
, hex
, json-data-encoding
, json-data-encoding-bson
, alcotest
, crowbar
, ppx_expect
}:

Expand Down
9 changes: 4 additions & 5 deletions pkgs/development/ocaml-modules/dns/client-lwt.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{ lib, buildDunePackage, dns, dns-client, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
{ buildDunePackage, dns, dns-client, lwt
, mirage-crypto-rng, mtime
, ipaddr, alcotest
, ca-certs
, happy-eyeballs
, tcpip
, tls-lwt
}:

Expand Down
8 changes: 4 additions & 4 deletions pkgs/development/ocaml-modules/dns/client-mirage.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ lib, buildDunePackage, dns, dns-client, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
{ buildDunePackage, dns, dns-client, lwt, mirage-clock, mirage-time
, mirage-random
, domain-name, ipaddr
, ca-certs-nss
, happy-eyeballs
, tcpip
, tls, tls-mirage
Expand Down
10 changes: 3 additions & 7 deletions pkgs/development/ocaml-modules/dns/client.nix
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{ lib, buildDunePackage, dns, lwt, mirage-clock, mirage-time
, mirage-random, mirage-crypto-rng, mtime, randomconv
, cstruct, fmt, logs, rresult, domain-name, ipaddr, alcotest
, ca-certs, ca-certs-nss
, happy-eyeballs
, tcpip
, tls, tls-mirage
{ buildDunePackage, dns
, mirage-crypto-rng, mtime, randomconv
, domain-name, alcotest
}:

buildDunePackage {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/dyn/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune_3, ordering }:
{ buildDunePackage, dune_3, ordering }:

buildDunePackage {
pname = "dyn";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/earley/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ocaml, buildDunePackage
{ lib, fetchFromGitHub, buildDunePackage
, stdlib-shims
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/earlybird/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, ocaml, buildDunePackage
{ lib, fetchFromGitHub, buildDunePackage
, cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, menhirLib, path_glob, ppx_deriving_yojson
, ppx_optcomp
, gitUpdater
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/eio/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
, bigstringaf
, cstruct
, domain-local-await
, dune-configurator
, fetchurl
, fmt
, hmap
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/emile/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, buildDunePackage
, fetchurl
, ocaml
, angstrom
, ipaddr
, base64
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/faraday/async.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ buildDunePackage, lib, faraday, core_unix ? null, async }:
{ buildDunePackage, faraday, core_unix ? null, async }:

buildDunePackage rec {
pname = "faraday-async";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/faraday/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml, alcotest, bigstringaf }:
{ lib, fetchFromGitHub, buildDunePackage, alcotest, bigstringaf }:

buildDunePackage rec {
pname = "faraday";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ff/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, ff-pbt, ff-sig, zarith, alcotest }:
{ buildDunePackage, ff-pbt, ff-sig, zarith, alcotest }:

buildDunePackage rec {
pname = "ff";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ff/pbt.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, zarith, ff-sig, alcotest }:
{ buildDunePackage, zarith, ff-sig, alcotest }:

buildDunePackage {
pname = "ff-pbt";
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ffmpeg/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, callPackage
{ buildDunePackage, callPackage
, ffmpeg-base ? callPackage ./base.nix { }
, ffmpeg-avutil
, ffmpeg-avcodec
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/fiber/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
, buildDunePackage
, dyn
, fetchurl
, ocaml
, ppx_expect
, stdune
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/gapi-ocaml/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, fetchFromGitHub, buildDunePackage, ocaml
{ lib, fetchFromGitHub, buildDunePackage
, camlp-streams, cppo, cryptokit, ocurl, yojson
, ounit2
}:
Expand Down
3 changes: 1 addition & 2 deletions pkgs/development/ocaml-modules/git/mirage.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ lib
, buildDunePackage
{ buildDunePackage
, git
, mimic
, mimic-happy-eyeballs
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/git/paf.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, git
, mimic
, paf
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/github/data.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, github
{ buildDunePackage, github
, yojson, atdgen
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/github/jsoo.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, github
{ buildDunePackage, github
, cohttp, cohttp-lwt-jsoo, js_of_ocaml-lwt
}:

Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/github/unix.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, github
{ buildDunePackage, github
, cohttp, cohttp-lwt-unix, stringext, cmdliner, lwt
}:

Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/gitlab/jsoo.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
lib,
buildDunePackage,
gitlab,
cohttp,
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/gitlab/unix.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
lib,
buildDunePackage,
gitlab,
cmdliner,
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/gluten/eio.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, gluten, eio }:
{ buildDunePackage, gluten, eio }:

buildDunePackage {
pname = "gluten-eio";
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/ocaml-modules/h2/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{ buildDunePackage
, lib
, fetchFromGitHub
, ocaml
, hpack
, angstrom
, faraday
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/hacl-star/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage, hacl-star-raw, zarith, cppo, alcotest, secp256k1-internal, qcheck-core, cstruct }:
{ buildDunePackage, hacl-star-raw, zarith, cppo, alcotest, secp256k1-internal, qcheck-core, cstruct }:


buildDunePackage {
Expand Down
2 changes: 0 additions & 2 deletions pkgs/development/ocaml-modules/hacl-star/raw.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
, which
, stdenv
, fetchzip
, opaline
, cmake
, ocaml
, findlib
, hacl-star
, ctypes
, cppo
}:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/httpaf/lwt-unix.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, httpaf
, faraday-lwt-unix
, lwt
Expand Down
1 change: 0 additions & 1 deletion pkgs/development/ocaml-modules/imagelib/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{ lib
, fetchurl
, buildDunePackage
, ocaml
, decompress
, stdlib-shims
, alcotest
Expand Down
2 changes: 1 addition & 1 deletion pkgs/development/ocaml-modules/ipaddr/cstruct.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ lib, buildDunePackage
{ buildDunePackage
, ipaddr, cstruct
}:

Expand Down
Loading