diff --git a/pkgs/development/ocaml-modules/stdune/default.nix b/pkgs/development/ocaml-modules/stdune/default.nix index fd1e4f987b4..5e0b798772d 100644 --- a/pkgs/development/ocaml-modules/stdune/default.nix +++ b/pkgs/development/ocaml-modules/stdune/default.nix @@ -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";