Skip to content

Commit

Permalink
set npm_config_cache to allow building with newer npm
Browse files Browse the repository at this point in the history
see npm/cli#4996
clue from Volker Schlecht
  • Loading branch information
sthen committed Jun 8, 2022
1 parent 8002452 commit c37619e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions devel/electron/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ GN_ARGS+= is_official_build=true \
MAKE_ENV+= PATH=${PATH}:${WRKSRC}/electron/node_modules/.bin \
NODE_PATH=${WRKSRC}/electron/node_modules

# https://github.com/npm/cli/issues/4996
MAKE_ENV+= npm_config_cache=${WRKDIR}

# manually de-jsonified list from electron/patches/config.json
ELECTRON_PATCH_CONFIG+= electron/patches/chromium:.
ELECTRON_PATCH_CONFIG+= electron/patches/boringssl:third_party/boringssl/src
Expand Down

0 comments on commit c37619e

Please sign in to comment.