# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base conf-findutils 1 Virtual package relying on findutils conf-gmp 4 Virtual package relying on a GMP lib system installation coq 8.14.1 Formal proof management system dune 3.1.1 Fast, portable, and opinionated build system ocaml 4.10.2 The OCaml compiler (virtual package) ocaml-base-compiler 4.10.2 Official release 4.10.2 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.3 A library manager for OCaml zarith 1.12 Implements arithmetic and logical operations over arbitrary-precision integers # opam file: opam-version: "2.0" maintainer: "lord@crocodile.org" homepage: "https://github.com/vzaliva/coq-min-imports" dev-repo: "git+https://github.com/vzaliva/coq-min-imports.git" bug-reports: "https://github.com/vzaliva/coq-min-imports/issues" authors: ["Vadim Zaliva"] license: "MIT" build: [ ["omake"] ] install: [ ["install" "coq_min_imports" "%{bin}%"] ] depends: [ "ocaml" "coq" {>= "8.5"} "extlib" "batteries" "omake" ] tags: [ "category:Miscellaneous/Coq Extensions" "date:2017-01-04" ] synopsis: "This script will try to remove unnecessary module imports from Coq" description: """ sources. It examines modules listed in "Require Import" statements one by one and tries to recompile to see if their removal would cause compilation errors.""" url { src: "https://github.com/vzaliva/coq-min-imports/archive/v1.0.0.tar.gz" checksum: "md5=5d66474c9d71dbc46b44c786fb6fef00" }
true
Dry install with the current Coq version:
opam install -y --show-action coq-min-imports.1.0.0 coq.8.14.1
Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
true
opam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-min-imports.1.0.0 coq.8.14.1
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-min-imports.1.0.0 coq.8.14.1
Total: 6 M
../ocaml-base-compiler.4.10.2/bin/coq_min_imports
opam remove -y coq-min-imports.1.0.0