Skip to content

Commit dd86bc8

Browse files
hussein-aitlahcencor
authored andcommitted
fix(libwasmvm): incorrect use of installPhase blowing nix closure
1 parent 2cd32b6 commit dd86bc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/libwasmvm/libwasmvm.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@
2828
inherit CARGO_BUILD_TARGET;
2929
} // (if pkgs.stdenv.isLinux then {
3030
cargoBuildCommand = "cargo build --release --example=muslc";
31-
installPhase = ''
31+
installPhaseCommand = ''
3232
mkdir -p $out/lib
3333
mv target/${CARGO_BUILD_TARGET}/release/examples/libmuslc.a $out/lib/libwasmvm.${builtins.head (pkgs.lib.strings.splitString "-" system)}.a
3434
'';
3535
} else if pkgs.stdenv.isDarwin then {
3636
# non-static dylib build on macOS
3737
cargoBuildCommand = "cargo build --release";
38-
installPhase = ''
38+
installPhaseCommand = ''
3939
mkdir -p $out/lib
4040
mv target/${CARGO_BUILD_TARGET}/release/deps/libwasmvm.dylib $out/lib/libwasmvm.dylib
4141
'';

0 commit comments

Comments
 (0)