mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
So we can test it with `test-shared.yml`. Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: https://github.com/nodejs/node/pull/66267 Reviewed-By: Filip Skokan <panva.ip@gmail.com> Reviewed-By: René <contact.9a5d6388@renegade334.me.uk>
56 lines
1.0 KiB
Nix
56 lines
1.0 KiB
Nix
{
|
|
pkgs ? import ./pkgs.nix { },
|
|
withLief ? true,
|
|
withQuic ? false,
|
|
withSQLite ? true,
|
|
withSSL ? true,
|
|
withFFI ? true,
|
|
withPerfetto ? false,
|
|
withTemporal ? true,
|
|
}:
|
|
{
|
|
inherit (pkgs)
|
|
ada
|
|
brotli
|
|
gtest
|
|
libuv
|
|
merve
|
|
nbytes
|
|
nghttp2
|
|
simdjson
|
|
simdutf
|
|
uvwasi
|
|
zlib
|
|
zstd
|
|
;
|
|
abseil = pkgs.abseil-cpp;
|
|
cares = pkgs.c-ares;
|
|
hdr-histogram = pkgs.hdrhistogram_c;
|
|
highway = pkgs.libhwy;
|
|
http-parser = pkgs.llhttp;
|
|
}
|
|
// (pkgs.lib.optionalAttrs withLief {
|
|
inherit (pkgs) lief;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withQuic {
|
|
inherit (pkgs)
|
|
nghttp3
|
|
ngtcp2
|
|
;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withSQLite {
|
|
inherit (pkgs) sqlite;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withFFI {
|
|
ffi = pkgs.libffiReal;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withSSL ({
|
|
inherit (import ./openssl-matrix.nix { inherit pkgs; }) openssl;
|
|
}))
|
|
// (pkgs.lib.optionalAttrs withPerfetto {
|
|
perfetto = pkgs.perfetto.sdk;
|
|
})
|
|
// (pkgs.lib.optionalAttrs withTemporal {
|
|
inherit (pkgs) temporal_capi;
|
|
})
|