Skip to content

Commit

Permalink
mkCoqDerivation: fix install path of ML plug-in built w/ dune
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Jun 25, 2024
1 parent 0192177 commit 5d61a87
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/build-support/coq/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,9 @@ stdenv.mkDerivation (removeAttrs ({
'';
installPhase = ''
runHook preInstall
dune install ${opam-name} --prefix=$out
mv $out/lib/coq $out/lib/TEMPORARY
dune install --prefix=$out --libdir $OCAMLFIND_DESTDIR ${opam-name}
mkdir $out/lib/coq/
mv $out/lib/TEMPORARY $out/lib/coq/${coq.coq-version}
mv $OCAMLFIND_DESTDIR/coq $out/lib/coq/${coq.coq-version}
runHook postInstall
'';
})
Expand Down

0 comments on commit 5d61a87

Please sign in to comment.