We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
installPhase
1 parent 2cd32b6 commit dd86bc8Copy full SHA for dd86bc8
tools/libwasmvm/libwasmvm.nix
@@ -28,14 +28,14 @@
28
inherit CARGO_BUILD_TARGET;
29
} // (if pkgs.stdenv.isLinux then {
30
cargoBuildCommand = "cargo build --release --example=muslc";
31
- installPhase = ''
+ installPhaseCommand = ''
32
mkdir -p $out/lib
33
mv target/${CARGO_BUILD_TARGET}/release/examples/libmuslc.a $out/lib/libwasmvm.${builtins.head (pkgs.lib.strings.splitString "-" system)}.a
34
'';
35
} else if pkgs.stdenv.isDarwin then {
36
# non-static dylib build on macOS
37
cargoBuildCommand = "cargo build --release";
38
39
40
mv target/${CARGO_BUILD_TARGET}/release/deps/libwasmvm.dylib $out/lib/libwasmvm.dylib
41
0 commit comments