summaryrefslogtreecommitdiff
path: root/doc/languages-frameworks/ocaml.section.md (follow)
Commit message (Expand)AuthorAgeFilesLines
* ocamlPackages.buildDunePackage: deprecate useDune2Et7f32023-05-061-9/+6
* ocamlPackages.findlib: detect conflicts of version early•••just like pythonCatchConflictHook Guillaume Girol2023-01-031-0/+5
* doc: use sri hash syntax•••The nixpkgs manual contains references to both sri hash and explicit sha256 attributes. This is at best confusing to new users. Since the final destination is exclusive use of sri hashes, see nixos/rfcs#131, might as well push new users in that direction gently. Notable exceptions to sri hash support are builtins.fetchTarball, cataclysm-dda, coq, dockerTools.pullimage, elixir.override, and fetchCrate. None, other than builtins.fetchTarball, are fundamentally incompatible, but all currently accept explicit sha256 attributes as input. Because adding backwards compatibility is out of scope for this change, they have been left intact, but migration to sri format has been made for any using old hash formats. All hashes have been manually tested to be accurate, and updates were only made for missing upstream artefacts or bugs. Colin Arnott2022-12-041-2/+2
* User manual: document duneVersionVincent Laporte2022-03-281-3/+7
* buildDunePackage: use dune_2 by defaultVincent Laporte2022-03-131-2/+2
* manual: document deprecated `minimumOCamlVersion`Vincent Laporte2022-01-261-3/+11
* doc: add ocaml end user doc to nixpkgs manual (#145100)•••doc: add ocaml end user doc to nixpkgs manual Co-authored-by: Sandro <sandro.jaeckel@gmail.com> Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>Guillaume Girol2021-11-161-0/+26
* Refresh the Ocaml package examples; document `useDune2` (#127520)•••The current example in the manual no longer builds, mainly because `useDune2 = true` is required, but also because the inputs have changed. The new examples are copied verbatim from nixpkgs.Graham Fawcett2021-06-221-25/+48
* doc: add function argument order convention (#110060)•••* doc: add function argument order convention Ordering by usage is the de facto ordering given to arguments. It's logical, and makes finding argument usage easier. Putting lib first is common in NixOS modules, so it's reasonable to mirror this in nixpkgs proper. Additionally, it's not a package as such, has zero dependencies, and can be found used anywhere in a derivation. * doc: clean up usage of libV2021-01-201-3/+3
* doc: stdenv.lib -> lib•••Part of: https://github.com/NixOS/nixpkgs/issues/108938 Changing the documentation to not refer to stdenv.lib is the first step to make people use it directly. Profpatsch2021-01-111-5/+5
* Convert OCaml from DocBook to CommonMarkAndersonTorres2020-12-041-0/+70