Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

ocamlPackages.wasm: fix static cross

+5 -1
+5 -1
pkgs/development/ocaml-modules/wasm/default.nix
··· 15 15 sha256 = "1kp72yv4k176i94np0m09g10cviqp2pnpm7jmiq6ik7fmmbknk7c"; 16 16 }; 17 17 18 - buildInputs = [ ocaml findlib ocamlbuild ]; 18 + nativeBuildInputs = [ ocaml findlib ocamlbuild ]; 19 + strictDeps = true; 20 + 21 + # x86_64-unknown-linux-musl-ld: -r and -pie may not be used together 22 + hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie"; 19 23 20 24 makeFlags = [ "-C" "interpreter" ]; 21 25