From 593dfc4d9d276141cdb0fb65d8839733858b4a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Fern=C3=A1ndez=20L=C3=B3pez?= Date: Sun, 3 Apr 2022 22:15:42 +0200 Subject: [PATCH] wasmtime: 0.36.0 -> 0.37.0 Re-enable darwin platform. --- pkgs/development/interpreters/wasmtime/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/interpreters/wasmtime/default.nix b/pkgs/development/interpreters/wasmtime/default.nix index a475f53f91f7..fd5ff80e7afc 100644 --- a/pkgs/development/interpreters/wasmtime/default.nix +++ b/pkgs/development/interpreters/wasmtime/default.nix @@ -1,24 +1,24 @@ -{ rustPlatform, fetchFromGitHub, lib, v8 }: +{ rustPlatform, fetchFromGitHub, lib, stdenv, v8 }: rustPlatform.buildRustPackage rec { pname = "wasmtime"; - version = "0.36.0"; + version = "0.37.0"; src = fetchFromGitHub { owner = "bytecodealliance"; repo = pname; rev = "v${version}"; - sha256 = "sha256-nSA78eQRbJ5JTDquaRqRgFU0V8RVCzvWUONgHxGj+Mc="; + sha256 = "sha256-ZUr1v94If8ER4lTHLwuP+F3xfXU7IW4ZEztBA2TPvVg="; fetchSubmodules = true; }; - cargoSha256 = "sha256-/+uioJRXiugsV7SUwsDNHGaPxrxrhscQUGyXOzzwG/g="; + cargoSha256 = "sha256-X+KDeWavFTBaxbSPlIiyuiBC7wg1/5C/NXp+VEY8Mk8="; # This environment variable is required so that when wasmtime tries # to run tests by using the rusty_v8 crate, it does not try to # download a static v8 build from the Internet, what would break # build hermetism. - RUSTY_V8_ARCHIVE = "${v8}/lib/libv8.a"; + RUSTY_V8_ARCHIVE = lib.optionalString stdenv.isLinux "${v8}/lib/libv8.a"; doCheck = true; checkFlags = [ @@ -36,6 +36,6 @@ rustPlatform.buildRustPackage rec { homepage = "https://github.com/bytecodealliance/wasmtime"; license = licenses.asl20; maintainers = [ maintainers.matthewbauer ]; - platforms = platforms.linux; + platforms = platforms.unix; }; }