From 37425ba1581526ffd3813ecae888b3ac1d221032 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Fri, 14 Apr 2023 17:24:35 -0400 Subject: [PATCH] fix(nodejs) --- projects/nodejs.org/package.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/projects/nodejs.org/package.yml b/projects/nodejs.org/package.yml index 8fbe021f..42090c89 100644 --- a/projects/nodejs.org/package.yml +++ b/projects/nodejs.org/package.yml @@ -27,6 +27,13 @@ build: python.org: '>=3.7 <3.11' freedesktop.org/pkg-config: ^0.29 script: | + # This is hacky, but it works. + # Knowing the precise versions to test is difficult, since + # nodejs develops multiple majors in sync. + if ./configure --help | grep -- --without-corepack; then + ARGS="$ARGS --without-corepack" + fi + ./configure $ARGS make --jobs {{ hw.concurrency }} install env: @@ -34,7 +41,6 @@ build: - --without-npm - --prefix={{ prefix }} # like, maybe we should include this? - - --without-corepack - --with-intl=system-icu - --shared-openssl - --shared-zlib