tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
ocamlPackages.wasm: fix static cross
Guillaume Girol
4 years ago
dd8a6747
0b134b0a
+5
-1
1 changed file
expand all
collapse all
unified
split
pkgs
development
ocaml-modules
wasm
default.nix
+5
-1
pkgs/development/ocaml-modules/wasm/default.nix
···
15
15
sha256 = "1kp72yv4k176i94np0m09g10cviqp2pnpm7jmiq6ik7fmmbknk7c";
16
16
};
17
17
18
18
-
buildInputs = [ ocaml findlib ocamlbuild ];
18
18
+
nativeBuildInputs = [ ocaml findlib ocamlbuild ];
19
19
+
strictDeps = true;
20
20
+
21
21
+
# x86_64-unknown-linux-musl-ld: -r and -pie may not be used together
22
22
+
hardeningDisable = lib.optional stdenv.hostPlatform.isStatic "pie";
19
23
20
24
makeFlags = [ "-C" "interpreter" ];
21
25