diff options
| -rw-r--r-- | bin/dune | 9 | ||||
| -rw-r--r-- | nix/package/nixtamal.nix | 4 |
2 files changed, 13 insertions, 0 deletions
@@ -15,3 +15,12 @@ uri) (preprocess (pps ppx_deriving.show ppx_deriving.eq ppx_deriving.ord ppx_deriving.make))) + +(env + (release + (ocamlopt_flags + (:standard + -O3 + -unbox-closures + -unboxed-types + (-inline-max-depth 8))))) diff --git a/nix/package/nixtamal.nix b/nix/package/nixtamal.nix index bf4e576..833e381 100644 --- a/nix/package/nixtamal.nix +++ b/nix/package/nixtamal.nix @@ -54,6 +54,10 @@ ocamlPackages.buildDunePackage { ]) (fs.maybeMissing ../../_build); }; + env = { + DUNE_PROFILE = "release"; + }; + nativeBuildInputs = [ python3Packages.docutils # NOTE: no KDL support |
