Commit ca5803ae authored by Jérome Perrin's avatar Jérome Perrin

component/theia: make nodejs use ipv4 during build

this keeps the behavior of nodejs < 18
https://twitter.com/matteocollina/status/1640384245834055680
parent b1b606e1
......@@ -33,14 +33,14 @@ recipe = slapos.recipe.cmmi
shared = true
path = ${yarn.lock:location}
# To regenerate yarn.lock, use package.json instead
# path = ${package.json:location}
#path = ${package.json:location}
environment =
TMPDIR=@@LOCATION@@/tmp
PATH=${nodejs:location}/bin:${pkgconfig:location}/bin:${python3:location}/bin:%(PATH)s
PKG_CONFIG_PATH=${libsecret:location}/lib/pkgconfig:${libsecret:pkg_config_depends}
LDFLAGS=-Wl,-rpath=${libsecret:location}/lib -L${gettext:location}/lib -Wl,-rpath=${gettext:location}/lib -Wl,-rpath=${glib:location}/lib
npm_config_tarball=${node-gyp-environment:npm_config_tarball}
NODE_OPTIONS=--max_old_space_size=4096
NODE_OPTIONS=--max_old_space_size=4096 --dns-result-order=ipv4first
pre-configure =
mkdir -p $TMPDIR
echo '${package.json:content}' > %(location)s/package.json
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment