Skip to content

Commit

Permalink
Propagate zarith dependency.
Browse files Browse the repository at this point in the history
External plugins need the OCaml dependencies of Coq in scope
because ocamlfind looks for them since #12604.
  • Loading branch information
Zimmi48 committed Sep 11, 2020
1 parent e1a8da8 commit 4093277
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
hostname
python3 time # coq-makefile timing tools
]
++ (with ocamlPackages; [ ocaml findlib num zarith ])
++ (with ocamlPackages; [ ocaml findlib ])
++ optionals buildIde [
ocamlPackages.lablgtk3-sourceview3
glib gnome3.defaultIconTheme wrapGAppsHook
Expand Down Expand Up @@ -71,9 +71,8 @@ stdenv.mkDerivation rec {

# Since #12604, ocamlfind looks for num when building plugins
# This follows a similar change in the nixpkgs repo (cf. NixOS/nixpkgs#94230)
propagatedBuildInputs = [
ocamlPackages.num
];
# Same for zarith which is needed since its introduction as a dependency of Coq
propagatedBuildInputs = with ocamlPackages; [ num zarith ];

src =
if shell then null
Expand Down

0 comments on commit 4093277

Please sign in to comment.