diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2022-03-28 17:55:31 +0200 |
---|---|---|
committer | Jan Tojnar <jtojnar@gmail.com> | 2022-03-28 17:55:31 +0200 |
commit | 997bb5e42c0fab08598bd2f75b3b7873d6dc3505 (patch) | |
tree | 10e1365bc6fa0ef847422adb12106e86a1b02262 /doc | |
parent | e3d20dfaa59f5fde6b277943b7bc080390627bfa (diff) | |
parent | 01656454995be26a38490626c060ec66a0415cfe (diff) | |
download | nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.tar nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.tar.gz nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.tar.bz2 nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.tar.lz nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.tar.xz nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.tar.zst nixlib-997bb5e42c0fab08598bd2f75b3b7873d6dc3505.zip |
Merge branch 'master' into staging-next
; Conflicts: ; pkgs/development/python-modules/dnspython/default.nix ; pkgs/development/python-modules/googleapis-common-protos/default.nix
Diffstat (limited to 'doc')
-rw-r--r-- | doc/languages-frameworks/ocaml.section.md | 10 | ||||
-rw-r--r-- | doc/languages-frameworks/vim.section.md | 2 |
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/languages-frameworks/ocaml.section.md b/doc/languages-frameworks/ocaml.section.md index e4813d7dd2d4..c6e40eaa20d0 100644 --- a/doc/languages-frameworks/ocaml.section.md +++ b/doc/languages-frameworks/ocaml.section.md @@ -38,8 +38,12 @@ Here is a simple package example. - It uses the `fetchFromGitHub` fetcher to get its source. -- `useDune2 = true` ensures that Dune version 2 is used for the - build (this is the default; set to `false` to use Dune version 1). +- `duneVersion = "2"` ensures that Dune version 2 is used for the + build (this is the default; valid values are `"1"`, `"2"`, and `"3"`); + note that there is also a legacy `useDune2` boolean attribute: + set to `false` it corresponds to `duneVersion = "1"`; set to `true` it + corresponds to `duneVersion = "2"`. If both arguments (`duneVersion` and + `useDune2`) are given, the second one (`useDune2`) is silently ignored. - It sets the optional `doCheck` attribute such that tests will be run with `dune runtest -p angstrom` after the build (`dune build -p angstrom`) is @@ -67,7 +71,7 @@ Here is a simple package example. buildDunePackage rec { pname = "angstrom"; version = "0.15.0"; - useDune2 = true; + duneVersion = "2"; minimalOCamlVersion = "4.04"; diff --git a/doc/languages-frameworks/vim.section.md b/doc/languages-frameworks/vim.section.md index a615d585b151..a3b47461a6bd 100644 --- a/doc/languages-frameworks/vim.section.md +++ b/doc/languages-frameworks/vim.section.md @@ -286,7 +286,7 @@ Sample output1: "reload" = buildVimPluginFrom2Nix { # created by nix#NixDerivation name = "reload"; src = fetchgit { - url = "git://github.com/xolox/vim-reload"; + url = "https://github.com/xolox/vim-reload"; rev = "0a601a668727f5b675cb1ddc19f6861f3f7ab9e1"; sha256 = "0vb832l9yxj919f5hfg6qj6bn9ni57gnjd3bj7zpq7d4iv2s4wdh"; }; |