mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-17 23:11:23 +01:00
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:
parent
3f5f7a602d
commit
5c01142933
11 changed files with 184 additions and 232 deletions
12
bin/dune
12
bin/dune
|
|
@ -1,14 +1,6 @@
|
|||
(executable
|
||||
(name flake_env)
|
||||
(public_name flake_env)
|
||||
(libraries
|
||||
core
|
||||
core_unix
|
||||
core_unix.filename_unix
|
||||
core_unix.sys_unix
|
||||
ppx_yojson_conv
|
||||
re
|
||||
sha
|
||||
lib)
|
||||
(libraries lib ppx_yojson_conv re sha)
|
||||
(preprocess
|
||||
(pps ppx_yojson_conv ppx_jane)))
|
||||
(pps ppx_yojson_conv)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue