polaris-web: fix breakage due to nodejs v16->v18 upgrade

This really should be fixed upstream, but this will
have to suffice in the meanwhile.
This commit is contained in:
Peder Bergebakken Sundt
2022-09-24 21:15:34 +02:00
parent d9a1414346
commit 6fbc9b6f93
+3
View File
@@ -51,6 +51,9 @@ stdenv.mkDerivation rec {
export PATH="${nodeDependencies}/bin:${nodejs}/bin:$PATH"
# https://github.com/parcel-bundler/parcel/issues/8005
export NODE_OPTIONS=--no-experimental-fetch
ln -s ${nodeDependencies}/lib/node_modules .
npm run production