Merge pull request #233743 from vbgl/ocaml-cleaning-20230523
ocamlPackages: small fixes
This commit is contained in:
commit
703640f648
@ -16,6 +16,7 @@
|
|||||||
, chrome-trace
|
, chrome-trace
|
||||||
, dune_3
|
, dune_3
|
||||||
, csexp
|
, csexp
|
||||||
|
, result
|
||||||
, pp
|
, pp
|
||||||
, cmdliner
|
, cmdliner
|
||||||
, ordering
|
, ordering
|
||||||
@ -101,6 +102,7 @@ buildDunePackage rec {
|
|||||||
jsonrpc
|
jsonrpc
|
||||||
pp
|
pp
|
||||||
ppx_yojson_conv_lib
|
ppx_yojson_conv_lib
|
||||||
|
result
|
||||||
uutf
|
uutf
|
||||||
] else [
|
] else [
|
||||||
csexp
|
csexp
|
||||||
|
@ -9,6 +9,7 @@ buildDunePackage rec {
|
|||||||
pname = "polynomial";
|
pname = "polynomial";
|
||||||
version = "0.4.0";
|
version = "0.4.0";
|
||||||
duneVersion = "3";
|
duneVersion = "3";
|
||||||
|
minimalOCamlVersion = "4.08";
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "nomadic-labs";
|
owner = "nomadic-labs";
|
||||||
repo = "cryptography/ocaml-polynomial";
|
repo = "cryptography/ocaml-polynomial";
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, fetchurl, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin }:
|
{ lib, fetchurl, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin, result }:
|
||||||
|
|
||||||
buildDunePackage rec {
|
buildDunePackage rec {
|
||||||
pname = "dot-merlin-reader";
|
pname = "dot-merlin-reader";
|
||||||
@ -12,7 +12,7 @@ buildDunePackage rec {
|
|||||||
buildInputs = [ findlib ]
|
buildInputs = [ findlib ]
|
||||||
++ (if lib.versionAtLeast version "4.7-414"
|
++ (if lib.versionAtLeast version "4.7-414"
|
||||||
then [ merlin-lib ]
|
then [ merlin-lib ]
|
||||||
else [ yojson csexp ]);
|
else [ yojson csexp result ]);
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Reads config files for merlin";
|
description = "Reads config files for merlin";
|
||||||
|
Loading…
Reference in New Issue
Block a user