Antonio Nuno Monteiro
91137380e6
buildDunePackage: use --mandir
instead of --man
2023-03-28 11:07:28 -07:00
François Bobot
3b3e37f996
[OCaml] tell dune where to install man
...
`fixupPhase` move `$out/man` to `$out/share/man`. So the information of their location in the dune-project file is outdated which breaks dependencies on packages ( `(package foo)`).
2023-03-14 14:37:57 +01:00
Antonio Nuno Monteiro
45c3600bb1
buildDunePackage: fix doc installation
...
The default directory where dune expects docs is in
`$out/doc`, but Nix installs it in `$out/share/doc`
2023-03-13 20:50:15 +01:00
Ulrik Strid
f12b9ea461
buildDunePackage: default to strictDeps = true
2023-02-03 08:59:34 +01:00
Ulrik Strid
c53a63adf1
ocamlPackages treewide: strictDeps all packages
2023-02-03 08:59:34 +01:00
Anders Kaseorg
6920d8ca42
treewide: Simplify negated uses of versionAtLeast, versionOlder
...
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-04-25 13:35:24 -07:00
Vincent Laporte
15f220b07c
ocamlPackages.buildDunePackage: add support for dune 3
2022-03-28 07:08:14 +02:00
Vincent Laporte
b5359c444e
buildDunePackage: use dune_2 by default
2022-03-13 21:19:09 +01:00
Guillaume Girol
a17fc03375
pkgsStatic.ocaml-ng: migrate static adapter to derivations themselves
2021-08-19 09:32:03 +02:00
Guillaume Girol
856fa067c5
buildDunePackage: use nativeBuildInputs for build tools
2021-08-19 09:29:55 +02:00
superherointj
15807923f9
build-support.ocaml.dune: handle minimalOCamlVersion typo
2021-06-11 11:08:12 +02:00
Vincent Laporte
60785fe4db
ocamlPackages.dune: rename into dune_1
2021-03-07 12:07:14 +01:00
Pavol Rusnak
90f7338112
treewide: stdenv.lib -> lib
2021-01-24 01:49:49 +01:00
sternenseemann
640d92513d
buildDunePackage: use dune install instead of opaline
2020-12-21 00:43:33 +01:00
Mario Rodas
f7ac956a2b
buildDunePackage: add support for parallel build
...
dune allows to specify the number of jobs to build the package.
2020-04-29 16:08:52 +02:00
Vincent Laporte
0229936bbe
buildDunePackage: add a “useDune2” option
2020-03-23 09:12:50 +01:00
volth
f3282c8d1e
treewide: remove unused variables ( #63177 )
...
* treewide: remove unused variables
* making ofborg happy
2019-06-16 19:59:05 +00:00
Vincent Laporte
66efb76c75
ocamlPackages.buildDunePackage: fix meta.platforms
2018-11-30 16:19:03 +00:00
Théo Zimmermann
742bce7793
buildDunePackage: inline dune.installPhase for easier overriding
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2018-11-07 10:08:08 +01:00
Théo Zimmermann
406405d8bd
buildDunePackage: add support for pre and post phase hooks
...
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2018-11-07 10:08:08 +01:00
Théo Zimmermann
794158fcd5
buildDunePackage: new support function; use it to refactor some OCaml derivations
2018-11-07 10:08:03 +01:00