by giraj · 3y ago · 0 comments
https://github.com/NixOS/nixpkgs/pull/32946
If you find it important, I'd encourage opening a PR to ask for flambda to be enabled by default at https://github.com/NixOS/nixpkgs/issues/new/choose.
Especially if the ocaml community typically enables flambda by default these days.
let o = ocaml.override { flambdaSupport = true; }; in
let oP = ocaml-ng.mkOcamlPackages o (self: super: {}); in
oP.apron
[1] https://discourse.nixos.org/t/install-ocaml-flambda-compiler...If you're using opam then you can test flambda out by creating a new switch
opam switch create ocaml-flambda ocaml-variants.4.14.1+options ocaml-option-flambda
and then running "opam switch set ocaml-flambda". (You can replace 4.14.1 with your preferred version above.)