ocamlPackages.wasm: fix static cross

This commit is contained in:
Guillaume Girol 2021-08-14 12:00:00 +00:00
parent 0b134b0a9c
commit dd8a674796

View file

@ -15,7 +15,11 @@ stdenv.mkDerivation rec {
sha256 = "1kp72yv4k176i94np0m09g10cviqp2pnpm7jmiq6ik7fmmbknk7c";
};
buildInputs = [ ocaml findlib ocamlbuild ];
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
strictDeps = true;
# x86_64-unknown-linux-musl-ld: -r and -pie may not be used together
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
makeFlags = [ "-C" "interpreter" ];