mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +00:00
weidu: use unsafe string settings
This commit is contained in:
parent
64a4e05f0d
commit
67e26d3df7
@ -12,12 +12,9 @@ let
|
||||
# 1. Needs ocaml >= 4.04 and <= 4.11
|
||||
# 2. ocaml 4.10 defaults to safe (immutable) strings so we need a version with
|
||||
# that disabled as weidu is strongly dependent on mutable strings
|
||||
ocaml' = ocaml-ng.ocamlPackages_4_11.ocaml.overrideAttrs (old: {
|
||||
configureFlags = old.configureFlags ++ [
|
||||
# https://github.com/WeiDUorg/weidu/issues/197
|
||||
"--disable-force-safe-string"
|
||||
];
|
||||
});
|
||||
ocaml' = ocaml-ng.ocamlPackages_4_11.ocaml.override {
|
||||
unsafeStringSupport = true;
|
||||
};
|
||||
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
Loading…
Reference in New Issue
Block a user