diff options
| author | Emilio Jesus Gallego Arias | 2018-09-10 11:37:09 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2018-09-21 01:01:02 +0200 |
| commit | 81e4c7152da598c1750e7881b197a6fcf54e818d (patch) | |
| tree | 04b28f3ccc82a436b6202840477a3f5889f98745 /coq.opam | |
| parent | 8f23d8d339403006d6464510c7d2cd285cf38b0a (diff) | |
[dune] [configure] Allow to set prefix using environment variable.
This is a hack to enable correct OPAM building, the medium-term plan
is to avoid having to set a prefix at configure time but instead using
a set of rules to locate the Coq library.
We use `(env_var ...)` in a dependency rule, which a feature of Dune 1.2
Diffstat (limited to 'coq.opam')
| -rw-r--r-- | coq.opam | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,10 @@ depends: [ "camlp5" ] +build-env: [ + [ COQ_CONFIGURE_PREFIX = "%{prefix}" ] +] + build: [ [ "dune" "build" "@vodeps" ] [ "dune" "exec" "coq_dune" "_build/default/.vfiles.d" ] |
