Remove dependency on Janestreet Core

Core doubles the closure size and adds 8mb to the binary size for dubious benefit.
This adds FileUtils to do the file interaction bits that aren't in the
stdlib and removes Core in preference to the bundled Stdlib.

Tests are passing, but I want to investigate the nix build before I
commit to this approach
This commit is contained in:
Bryan Bennett 2024-08-12 12:13:53 -04:00
parent 3f5f7a602d
commit 5c01142933
No known key found for this signature in database
GPG key ID: EE149E4215408DE9
11 changed files with 184 additions and 232 deletions

View file

@ -2,8 +2,7 @@
, bintools
, bisect_ppx
, buildDunePackage
, core
, core_unix
, fileutils
, lib
, nix-filter
, ppx_yojson_conv
@ -51,8 +50,7 @@ buildDunePackage {
install -m444 -D direnvrc $out/share/flake_env/direnvrc
'';
buildInputs = [
core
core_unix
fileutils
ppx_yojson_conv
ppx_yojson_conv_lib
re