3
0
Fork 0
forked from mirrors/nixpkgs

wasilibc: build firefox in passthru.tests

This commit is contained in:
Martin Weinelt 2022-11-13 14:15:29 +01:00
parent 218feac349
commit a876ef3313
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,4 +1,10 @@
{ stdenv, buildPackages, fetchFromGitHub, lib }:
{ stdenv
, buildPackages
, fetchFromGitHub
, lib
, firefox-unwrapped
, firefox-esr-unwrapped
}:
let
pname = "wasilibc";
@ -44,6 +50,10 @@ stdenv.mkDerivation {
ln -s $share/share/undefined-symbols.txt $out/lib/wasi.imports
'';
passthru.tests = {
inherit firefox-unwrapped firefox-esr-unwrapped;
};
meta = with lib; {
changelog = "https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-${version}";
description = "WASI libc implementation for WebAssembly";