ocamlPackages.stdune: don't be incompatible with our version of csexp

upstream does that as well:
8bc4e7e5f4/ocaml/dune/stdune.nix (L11)

needed for ocaml-lsp
This commit is contained in:
Guillaume Girol 2022-04-24 12:00:00 +00:00
parent 7398520e8d
commit 43dc4612b0

View file

@ -1,4 +1,4 @@
{ lib, buildDunePackage, dune_3, dyn, ordering }:
{ lib, buildDunePackage, dune_3, dyn, ordering, csexp }:
buildDunePackage {
pname = "stdune";
@ -7,7 +7,11 @@ buildDunePackage {
dontAddPrefix = true;
propagatedBuildInputs = [ dyn ordering ];
propagatedBuildInputs = [ dyn ordering csexp ];
preBuild = ''
rm -r vendor/csexp
'';
meta = dune_3.meta // {
description = "Dune's unstable standard library";