forked from mirrors/nixpkgs
wasilibc: build firefox in passthru.tests
This commit is contained in:
parent
218feac349
commit
a876ef3313
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue