From c5832b33e3399511b4bbb055bd2dae38ee7a1b5c Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Fri, 3 May 2024 11:38:43 -0300 Subject: [PATCH] Remove unnecessary flags --- flake.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 4e0b239..a3b12c5 100644 --- a/flake.nix +++ b/flake.nix @@ -124,14 +124,12 @@ name = finalArgs.name; src = finalArgs.src; nativeBuildInputs = with pkgs; [ makeWrapper ]; - # TODO: bring in accordance with the new Wasmtime interface (WASMTIME_NEW_CLI=1) installPhase = '' mkdir -p $out/lib cp ${wasmPkg}/lib/${finalArgs.name}.wasm $out/lib/${finalArgs.pkgName}.wasm makeWrapper ${pkgs.wasmtime}/bin/wasmtime $out/bin/${finalArgs.pkgName} \ - --set WASMTIME_NEW_CLI 0 \ - --add-flags "$out/lib/${finalArgs.pkgName}.wasm" \ - --add-flags "--" + --set WASMTIME_NEW_CLI 1 \ + --add-flags "$out/lib/${finalArgs.pkgName}.wasm" ''; };