3 ms·
Seems you would need to first override ocaml and then override the ocaml used in mkOcamlPackages. [1] let o = ocaml.override { flambdaSupport = true; }; in
by ingenieroariel 4y ago
Seems you would need to first override ocaml and then override the ocaml used in mkOcamlPackages. [1]
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/1618 https://discourse.nixos.org/t/install-ocaml-flambda-compiler...
- giraj 4y agoOkay, thanks! But doesn't this still mean you have to compile ocaml (with flambda) yourself?
- mindslight 4y agoIf the derivation has already been written (as GP implies), then compiling something yourself with Nix is essentially just a longer installation process. No downloading tarballs, no keeping track of things in /usr/local, no stow or manually adding things to your path. Nix is essentially a source distribution that pulls common binaries from caches.