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