mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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
|
||||
, dune_3
|
||||
, csexp
|
||||
, result
|
||||
, pp
|
||||
, cmdliner
|
||||
, ordering
|
||||
@ -101,6 +102,7 @@ buildDunePackage rec {
|
||||
jsonrpc
|
||||
pp
|
||||
ppx_yojson_conv_lib
|
||||
result
|
||||
uutf
|
||||
] else [
|
||||
csexp
|
||||
|
@ -9,6 +9,7 @@ buildDunePackage rec {
|
||||
pname = "polynomial";
|
||||
version = "0.4.0";
|
||||
duneVersion = "3";
|
||||
minimalOCamlVersion = "4.08";
|
||||
src = fetchFromGitLab {
|
||||
owner = "nomadic-labs";
|
||||
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 {
|
||||
pname = "dot-merlin-reader";
|
||||
@ -12,7 +12,7 @@ buildDunePackage rec {
|
||||
buildInputs = [ findlib ]
|
||||
++ (if lib.versionAtLeast version "4.7-414"
|
||||
then [ merlin-lib ]
|
||||
else [ yojson csexp ]);
|
||||
else [ yojson csexp result ]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Reads config files for merlin";
|
||||
|
Loading…
Reference in New Issue
Block a user