mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
43dc4612b0
upstream does that as well:
8bc4e7e5f4/ocaml/dune/stdune.nix (L11)
needed for ocaml-lsp
21 lines
361 B
Nix
21 lines
361 B
Nix
{ lib, buildDunePackage, dune_3, dyn, ordering, csexp }:
|
|
|
|
buildDunePackage {
|
|
pname = "stdune";
|
|
inherit (dune_3) version src;
|
|
duneVersion = "3";
|
|
|
|
dontAddPrefix = true;
|
|
|
|
propagatedBuildInputs = [ dyn ordering csexp ];
|
|
|
|
preBuild = ''
|
|
rm -r vendor/csexp
|
|
'';
|
|
|
|
meta = dune_3.meta // {
|
|
description = "Dune's unstable standard library";
|
|
};
|
|
}
|
|
|