diff options
author | Guillaume Girol <symphorien+git@xlumurb.eu> | 2022-12-11 12:00:00 +0000 |
---|---|---|
committer | Guillaume Girol <symphorien+git@xlumurb.eu> | 2023-01-03 20:30:34 +0100 |
commit | 6043e3af4ec34a42d1f45620527eb3081e5b564a (patch) | |
tree | fef6d963842a49fa756c6d81e8edbec848818662 /doc/languages-frameworks/ocaml.section.md | |
parent | 3302bc3ddda5b1f72f7382b259d25856ed763a5e (diff) | |
download | nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.tar nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.tar.gz nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.tar.bz2 nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.tar.lz nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.tar.xz nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.tar.zst nixpkgs-6043e3af4ec34a42d1f45620527eb3081e5b564a.zip |
ocamlPackages.findlib: detect conflicts of version early
just like pythonCatchConflictHook
Diffstat (limited to 'doc/languages-frameworks/ocaml.section.md')
-rw-r--r-- | doc/languages-frameworks/ocaml.section.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/languages-frameworks/ocaml.section.md b/doc/languages-frameworks/ocaml.section.md index 347b2ea2eca..1e5a5cb4536 100644 --- a/doc/languages-frameworks/ocaml.section.md +++ b/doc/languages-frameworks/ocaml.section.md @@ -129,3 +129,8 @@ packaged libraries may still use the old spelling: maintainers are invited to fix this when updating packages. Massive renaming is strongly discouraged as it would be challenging to review, difficult to test, and will cause unnecessary rebuild. + +The build will automatically fail if two distinct versions of the same library +are added to `buildInputs` (which usually happens transitively because of +`propagatedBuildInputs`). Set `dontDetectOcamlConflicts` to true to disable this +behavior. |