# Packages matching: installed # Name # Installed # Synopsis base-bigarray base base-threads base base-unix base camlp5 7.14 Preprocessor-pretty-printer of OCaml conf-findutils 1 Virtual package relying on findutils conf-perl 2 Virtual package relying on perl coq 8.8.1 Formal proof management system num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic ocaml 4.07.1 The OCaml compiler (virtual package) ocaml-base-compiler 4.07.1 Official release 4.07.1 ocaml-config 1 OCaml Switch Configuration ocamlfind 1.9.5 A library manager for OCaml # 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.8.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.8.1
opam list; echo; ulimit -Sv 16000000; timeout 4h opam install -y -v coq-min-imports.1.0.0 coq.8.8.1
Total: 6 M
../ocaml-base-compiler.4.07.1/bin/coq_min_imports
opam remove -y coq-min-imports.1.0.0