Skip to content

Conversation

@tie
Copy link
Member

@tie tie commented Jun 18, 2023

Description of changes

This PR adds patches for Node.js that fix cross-compilation for v18 and v20. It also enables checkPhase for a subset of test suite that does not require dependencies not bundled with the tarball.

See also #234124 (comment)

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ofborg ofborg bot added the 6.topic: cross-compilation Building packages on a different platform than they will be used on label Jun 18, 2023
@ofborg ofborg bot requested review from cillianderoiste, cko, gilligan and marsam June 18, 2023 09:33
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. labels Jun 18, 2023
@tie tie force-pushed the nodejs-cross branch 2 times, most recently from 44db024 to f637e04 Compare June 23, 2023 15:02
@tie
Copy link
Member Author

tie commented Jun 25, 2023

Result of nixpkgs-review pr --checkout commit 238377 run on x86_64-linux 1

77 packages marked as broken and skipped:
  • calligra
  • code-server
  • coder
  • discourse
  • discourseAllPlugins
  • github-runner
  • kexi
  • kibana
  • kibana7
  • libsForQt5.full
  • libsForQt5.kreport
  • libsForQt5.qt5.full
  • magnetophonDSP.ConstantDetuneChorus
  • mermaid-filter
  • minizincide
  • mx-puppet-discord
  • nodejs-slim_14
  • nodejs-slim_14.libv8
  • nodejs-slim_16
  • nodejs-slim_16.libv8
  • nodejs_14
  • nodejs_14.libv8
  • nodejs_16
  • nodejs_16.libv8
  • npm-check
  • odoo
  • odoo.dist
  • oni2
  • openvscode-server
  • plasma5Packages.full
  • plasma5Packages.kreport
  • plasma5Packages.qt5.full
  • python310Packages.batchspawner
  • python310Packages.batchspawner.dist
  • python310Packages.caffeWithCuda
  • python310Packages.caffeWithCuda.bin
  • python310Packages.dalle-mini
  • python310Packages.dalle-mini.dist
  • python310Packages.dockerspawner
  • python310Packages.dockerspawner.dist
  • python310Packages.jupyterhub
  • python310Packages.jupyterhub-ldapauthenticator
  • python310Packages.jupyterhub-ldapauthenticator.dist
  • python310Packages.jupyterhub-systemdspawner
  • python310Packages.jupyterhub-systemdspawner.dist
  • python310Packages.jupyterhub-tmpauthenticator
  • python310Packages.jupyterhub-tmpauthenticator.dist
  • python310Packages.jupyterhub.dist
  • python310Packages.oauthenticator
  • python310Packages.oauthenticator.dist
  • python310Packages.optuna
  • python310Packages.optuna.dist
  • python311Packages.batchspawner
  • python311Packages.batchspawner.dist
  • python311Packages.dockerspawner
  • python311Packages.dockerspawner.dist
  • python311Packages.jupyterhub
  • python311Packages.jupyterhub-ldapauthenticator
  • python311Packages.jupyterhub-ldapauthenticator.dist
  • python311Packages.jupyterhub-systemdspawner
  • python311Packages.jupyterhub-systemdspawner.dist
  • python311Packages.jupyterhub-tmpauthenticator
  • python311Packages.jupyterhub-tmpauthenticator.dist
  • python311Packages.jupyterhub.dist
  • python311Packages.oauthenticator
  • python311Packages.oauthenticator.dist
  • qt5.full
  • qt5Full
  • teleprompter
  • trojita
  • tumpa
  • tumpa.dist
  • vimPlugins.coc-imselect
  • whalebird
  • zerobin
  • zerobin.dist
  • zombietrackergps
1 package blacklisted:
  • tests.writers
38 packages failed to build:
  • botamusique
  • bs-platform
  • caffeWithCuda
  • caffeWithCuda.bin
  • geph.gui
  • gpu-screen-recorder
  • gpu-screen-recorder-gtk
  • jiten
  • jiten.dist
  • openai-full
  • openai-full.dist
  • pulumiPackages.pulumi-language-nodejs
  • python310Packages.fastai
  • python310Packages.fastai.dist
  • python310Packages.k-diffusion
  • python310Packages.k-diffusion.dist
  • python310Packages.langchain
  • python310Packages.langchain.dist
  • python310Packages.skrl
  • python310Packages.skrl.dist
  • python310Packages.spacy
  • python310Packages.spacy-loggers
  • python310Packages.spacy-loggers.dist
  • python310Packages.spacy-transformers
  • python310Packages.spacy-transformers.dist
  • python310Packages.spacy.dist
  • python310Packages.textacy
  • python310Packages.textacy.dist
  • python310Packages.textnets
  • python310Packages.textnets.dist
  • python310Packages.wandb
  • python310Packages.wandb.dist
  • python311Packages.caffeWithCuda
  • python311Packages.caffeWithCuda.bin
  • replay-node-cli
  • sitespeed-io
  • sonic-pi
  • timetagger
829 packages built:
  • CuboCore.corepdf
  • PageEdit
  • activitywatch
  • adl
  • adoptopenjdk-icedtea-web
  • akkoma-frontends.admin-fe
  • akkoma-frontends.akkoma-fe
  • alice-lg
  • amarok (amarok-kf5)
  • amarok.doc (amarok-kf5.doc)
  • anime-downloader
  • anime-downloader.dist
  • anki
  • anki.dist
  • anki.doc
  • anki.man
  • ansible-language-server
  • antennas
  • antora
  • apache-airflow
  • apache-airflow.dist
  • ariang
  • arianna
  • assemblyscript
  • audiobookshelf
  • authelia
  • aw-server-rust
  • balanceofsatoshis
  • base16-builder
  • bat-extras.prettybat
  • betterbird-unwrapped
  • betterbird-unwrapped.debug
  • bibtex-tidy
  • binaryen
  • bitwarden
  • bitwarden-cli
  • breath-theme
  • breitbandmessung
  • calamares
  • calamares-nixos
  • calibre
  • cantor (libsForQt5.cantor ,plasma5Packages.cantor)
  • castnow
  • cdxgen
  • changedetection-io
  • changedetection-io.dist
  • chromium
  • chromium.sandbox
  • cinnamon.xreader
  • cjdns
  • cjdns-tools
  • clipgrab
  • cockpit
  • commitizen
  • commitizen.dist
  • commitlint
  • concurrently
  • create-cycle-app
  • csound-qt
  • csslint
  • cudaPackages.nsight_compute
  • cutemarked-ng
  • cutter
  • cwltool
  • cwltool.dist
  • cz-cli
  • deepin.deepin-reader
  • deepin.deepin-voice-note
  • deltachat-desktop
  • dgraph
  • digikam
  • djot-js
  • dmlive
  • docker-compose-language-service
  • dot-language-server
  • drawio
  • drawio-headless
  • eagle
  • electron-fiddle
  • element-desktop
  • element-desktop-wayland
  • element-web (element-web-unwrapped)
  • elmPackages.create-elm-app
  • elmPackages.elm
  • elmPackages.elm-analyse
  • elmPackages.elm-coverage
  • elmPackages.elm-doc-preview
  • elmPackages.elm-git-install
  • elmPackages.elm-language-server
  • elmPackages.elm-live
  • elmPackages.elm-optimize-level-2
  • elmPackages.elm-pages
  • elmPackages.elm-review
  • elmPackages.elm-spa
  • elmPackages.elm-test
  • elmPackages.elm-upgrade
  • elmPackages.elm-verify-examples
  • elmPackages.elm-xref
  • elmPackages.elm.doc
  • nodejs (elmPackages.nodejs ,nodejs_18)
  • nodejs.libv8 (elmPackages.nodejs.libv8 ,nodejs_18.libv8)
  • emacsPackages.lsp-bridge
  • emanote
  • emanote.data
  • emojione
  • emscripten
  • epgstation
  • eslint_d
  • ethercalc
  • evcc
  • fast-cli
  • faust (faust2)
  • faust2alqt
  • faust2alsa
  • faust2csound
  • faust2firefox
  • faust2jack
  • faust2jackrust
  • faust2jaqt
  • faust2ladspa
  • faust2lv2
  • faust2sc
  • faustPhysicalModeling
  • faustlive
  • fcitx5-chinese-addons
  • filebrowser
  • firefox-beta-unwrapped (firefoxPackages.firefox-beta)
  • firefox-beta-unwrapped.debug (firefoxPackages.firefox-beta.debug)
  • firefox-beta-unwrapped.symbols (firefoxPackages.firefox-beta.symbols)
  • firefox-devedition-unwrapped (firefoxPackages.firefox-devedition)
  • firefox-devedition-unwrapped.debug (firefoxPackages.firefox-devedition.debug)
  • firefox-devedition-unwrapped.symbols (firefoxPackages.firefox-devedition.symbols)
  • firefox-esr-unwrapped (firefox-esr-102-unwrapped ,firefoxPackages.firefox-esr-102)
  • firefox-esr-unwrapped.debug (firefox-esr-102-unwrapped.debug ,firefoxPackages.firefox-esr-102.debug)
  • firefox-esr-unwrapped.symbols (firefox-esr-102-unwrapped.symbols ,firefoxPackages.firefox-esr-102.symbols)
  • xulrunner (firefox-unwrapped)
  • xulrunner.debug (firefox-unwrapped.debug)
  • xulrunner.symbols (firefox-unwrapped.symbols)
  • fixup_yarn_lock
  • flexoptix-app
  • flood
  • forgejo
  • forgejo.data
  • foxdot (python310Packages.foxdot)
  • foxdot.dist (python310Packages.foxdot.dist)
  • freecad
  • frescobaldi
  • frescobaldi.dist
  • fx_cast_bridge
  • github-copilot-cli
  • gitlab
  • gitlab-ee
  • gitqlient
  • globalprotect-openconnect
  • gnomeExtensions.pop-shell
  • golden-cheetah
  • google-clasp
  • gotify-server
  • gpsbabel-gui
  • gpsbabel-gui.doc
  • grafana-image-renderer
  • graphite-cli
  • gtop
  • guitarix
  • haskellPackages.aeson-typescript
  • haskellPackages.aeson-typescript.doc
  • haskellPackages.emanote
  • haskellPackages.emanote.data
  • haskellPackages.emanote.doc
  • haskellPackages.servant-typescript
  • haskellPackages.servant-typescript.doc
  • haskellPackages.tailwind
  • haskellPackages.tailwind.doc
  • haste-server
  • hedgedoc
  • heroic
  • heroic-unwrapped
  • heroku
  • hqplayer-desktop
  • hqplayer-desktop.doc
  • hred
  • hueadm
  • huggle
  • husky
  • image_optim
  • imapnotify
  • imgbrd-grabber
  • iosevka
  • iosevka-comfy.comfy
  • iosevka-comfy.comfy-duo
  • iosevka-comfy.comfy-fixed
  • iosevka-comfy.comfy-motion
  • iosevka-comfy.comfy-motion-duo
  • iosevka-comfy.comfy-motion-fixed
  • iosevka-comfy.comfy-wide
  • iosevka-comfy.comfy-wide-duo
  • iosevka-comfy.comfy-wide-fixed
  • iosevka-comfy.comfy-wide-motion
  • iosevka-comfy.comfy-wide-motion-duo
  • iosevka-comfy.comfy-wide-motion-fixed
  • isso
  • isso.dist
  • isso.doc
  • jami
  • jellyfin
  • jellyfin-media-player
  • jellyfin-mpv-shim
  • jellyfin-mpv-shim.dist
  • jellyfin-web
  • jellyseerr
  • joplin
  • kapitonov-plugins-pack
  • karma
  • kaufkauflist
  • kavita
  • kbibtex
  • kchmviewer
  • kdeltachat
  • kiwix
  • kmymoney
  • kuro
  • labplot
  • latte-dock
  • lemmy-ui
  • lessc
  • lgogdownloader
  • librewolf-unwrapped
  • librewolf-unwrapped.debug
  • libsForQt5.akonadi-calendar (plasma5Packages.akonadi-calendar)
  • libsForQt5.akonadi-calendar-tools (plasma5Packages.akonadi-calendar-tools)
  • libsForQt5.akonadi-calendar-tools.dev (plasma5Packages.akonadi-calendar-tools.dev)
  • libsForQt5.akonadi-calendar.dev (plasma5Packages.akonadi-calendar.dev)
  • libsForQt5.akonadi-contacts (plasma5Packages.akonadi-contacts)
  • libsForQt5.akonadi-contacts.dev (plasma5Packages.akonadi-contacts.dev)
  • libsForQt5.akonadi-import-wizard (plasma5Packages.akonadi-import-wizard)
  • libsForQt5.akonadi-import-wizard.dev (plasma5Packages.akonadi-import-wizard.dev)
  • libsForQt5.akonadiconsole (plasma5Packages.akonadiconsole)
  • libsForQt5.akregator (plasma5Packages.akregator)
  • libsForQt5.akregator.dev (plasma5Packages.akregator.dev)
  • libsForQt5.alkimia (plasma5Packages.alkimia)
  • libsForQt5.angelfish (plasma5Packages.angelfish)
  • libsForQt5.aura-browser (plasma5Packages.aura-browser)
  • libsForQt5.bismuth (plasma5Packages.bismuth)
  • libsForQt5.calendarsupport (plasma5Packages.calendarsupport)
  • libsForQt5.calendarsupport.dev (plasma5Packages.calendarsupport.dev)
  • libsForQt5.discover (plasma5Packages.discover)
  • libsForQt5.eventviews (plasma5Packages.eventviews)
  • libsForQt5.eventviews.dev (plasma5Packages.eventviews.dev)
  • libsForQt5.falkon (plasma5Packages.falkon)
  • libsForQt5.ghostwriter (plasma5Packages.ghostwriter)
  • libsForQt5.incidenceeditor (plasma5Packages.incidenceeditor)
  • libsForQt5.incidenceeditor.dev (plasma5Packages.incidenceeditor.dev)
  • libsForQt5.kaccounts-providers (plasma5Packages.kaccounts-providers)
  • libsForQt5.kaddressbook (plasma5Packages.kaddressbook)
  • libsForQt5.kalarm (plasma5Packages.kalarm)
  • libsForQt5.kalendar (plasma5Packages.kalendar)
  • libsForQt5.kde-cli-tools (plasma5Packages.kde-cli-tools)
  • libsForQt5.kdepim-addons (plasma5Packages.kdepim-addons)
  • libsForQt5.kdepim-runtime (plasma5Packages.kdepim-runtime)
  • libsForQt5.kdeplasma-addons (plasma5Packages.kdeplasma-addons)
  • libsForQt5.kdev-php (plasma5Packages.kdev-php)
  • libsForQt5.kdev-python (plasma5Packages.kdev-python)
  • libsForQt5.kdevelop (plasma5Packages.kdevelop)
  • libsForQt5.kdevelop-unwrapped (plasma5Packages.kdevelop-unwrapped)
  • libsForQt5.kgpg (plasma5Packages.kgpg)
  • libsForQt5.khotkeys (plasma5Packages.khotkeys)
  • libsForQt5.khotkeys.bin (plasma5Packages.khotkeys.bin)
  • libsForQt5.khotkeys.dev (plasma5Packages.khotkeys.dev)
  • libsForQt5.kinfocenter (plasma5Packages.kinfocenter)
  • libsForQt5.kio-gdrive (plasma5Packages.kio-gdrive)
  • libsForQt5.kmail (plasma5Packages.kmail)
  • libsForQt5.kmail-account-wizard (plasma5Packages.kmail-account-wizard)
  • libsForQt5.kmail.doc (plasma5Packages.kmail.doc)
  • libsForQt5.kmailtransport (plasma5Packages.kmailtransport)
  • libsForQt5.kmailtransport.dev (plasma5Packages.kmailtransport.dev)
  • libsForQt5.kmenuedit (plasma5Packages.kmenuedit)
  • libsForQt5.knotes (plasma5Packages.knotes)
  • libsForQt5.konqueror (plasma5Packages.konqueror)
  • libsForQt5.kontact (plasma5Packages.kontact)
  • libsForQt5.korganizer (plasma5Packages.korganizer)
  • libsForQt5.krohnkite (plasma5Packages.krohnkite)
  • libsForQt5.ksystemstats (plasma5Packages.ksystemstats)
  • libsForQt5.kwin-dynamic-workspaces (plasma5Packages.kwin-dynamic-workspaces)
  • libsForQt5.kwin-tiling (plasma5Packages.kwin-tiling)
  • libsForQt5.kzones (plasma5Packages.kzones)
  • libsForQt5.libgravatar (plasma5Packages.libgravatar)
  • libsForQt5.libgravatar.dev (plasma5Packages.libgravatar.dev)
  • libsForQt5.libkdepim (plasma5Packages.libkdepim)
  • libsForQt5.libkgapi (plasma5Packages.libkgapi)
  • libsForQt5.libksieve (plasma5Packages.libksieve)
  • libsForQt5.libksieve.dev (plasma5Packages.libksieve.dev)
  • libsForQt5.libksysguard (plasma5Packages.libksysguard)
  • libsForQt5.libksysguard.bin (plasma5Packages.libksysguard.bin)
  • libsForQt5.libksysguard.dev (plasma5Packages.libksysguard.dev)
  • libsForQt5.mailcommon (plasma5Packages.mailcommon)
  • libsForQt5.mailcommon.dev (plasma5Packages.mailcommon.dev)
  • libsForQt5.mailimporter (plasma5Packages.mailimporter)
  • libsForQt5.marble (plasma5Packages.marble)
  • libsForQt5.marble.dev (plasma5Packages.marble.dev)
  • libsForQt5.mauikit-calendar (plasma5Packages.mauikit-calendar)
  • libsForQt5.mbox-importer (plasma5Packages.mbox-importer)
  • libsForQt5.messagelib (plasma5Packages.messagelib)
  • libsForQt5.messagelib.dev (plasma5Packages.messagelib.dev)
  • libsForQt5.parachute (plasma5Packages.parachute)
  • libsForQt5.pim-data-exporter (plasma5Packages.pim-data-exporter)
  • libsForQt5.pim-sieve-editor (plasma5Packages.pim-sieve-editor)
  • libsForQt5.pimcommon (plasma5Packages.pimcommon)
  • libsForQt5.pimcommon.dev (plasma5Packages.pimcommon.dev)
  • libsForQt5.plasma-bigscreen (plasma5Packages.plasma-bigscreen)
  • libsForQt5.plasma-browser-integration (plasma5Packages.plasma-browser-integration)
  • libsForQt5.plasma-desktop (plasma5Packages.plasma-desktop)
  • libsForQt5.plasma-disks (plasma5Packages.plasma-disks)
  • libsForQt5.plasma-disks.bin (plasma5Packages.plasma-disks.bin)
  • libsForQt5.plasma-disks.dev (plasma5Packages.plasma-disks.dev)
  • libsForQt5.plasma-mobile (plasma5Packages.plasma-mobile)
  • libsForQt5.plasma-remotecontrollers (plasma5Packages.plasma-remotecontrollers)
  • libsForQt5.plasma-systemmonitor (plasma5Packages.plasma-systemmonitor)
  • libsForQt5.plasma-vault (plasma5Packages.plasma-vault)
  • libsForQt5.plasma-workspace (plasma5Packages.plasma-workspace)
  • libsForQt5.plasma-workspace.dev (plasma5Packages.plasma-workspace.dev)
  • libsForQt5.powerdevil (plasma5Packages.powerdevil)
  • qt5.qtwebengine (libsForQt5.qtwebengine)
  • qt5.qtwebengine.bin (libsForQt5.qtwebengine.bin)
  • qt5.qtwebengine.dev (libsForQt5.qtwebengine.dev)
  • qt5.qtwebview (libsForQt5.qtwebview)
  • qt5.qtwebview.bin (libsForQt5.qtwebview.bin)
  • qt5.qtwebview.dev (libsForQt5.qtwebview.dev)
  • libsForQt5.systemsettings (plasma5Packages.systemsettings)
  • libsForQt5.systemsettings.bin (plasma5Packages.systemsettings.bin)
  • libsForQt5.systemsettings.dev (plasma5Packages.systemsettings.dev)
  • libsForQt5.tokodon (plasma5Packages.tokodon)
  • libsForQt5.xdg-desktop-portal-kde (plasma5Packages.xdg-desktop-portal-kde)
  • libsForQt5.zanshin (plasma5Packages.zanshin)
  • lighthouse
  • lightly-boehs
  • lightly-qt
  • ligo
  • listmonk
  • lldap
  • luminanceHDR
  • lv_img_conv
  • magnetophonDSP.CharacterCompressor
  • magnetophonDSP.CompBus
  • magnetophonDSP.LazyLimiter
  • magnetophonDSP.MBdistortion
  • magnetophonDSP.RhythmDelay
  • magnetophonDSP.VoiceOfFaust
  • magnetophonDSP.faustCompressors
  • magnetophonDSP.pluginUtils
  • magnetophonDSP.shelfMultiBand
  • malt
  • mastodon
  • mastodon-bot
  • matrix-alertmanager
  • matrix-appservice-discord
  • matrix-appservice-irc
  • matrix-appservice-slack
  • matrix-hookshot
  • matrix-sdk-crypto-nodejs
  • matrix-sdk-crypto-nodejs-0_1_0-beta_3
  • maui-shell
  • mbqn
  • mellowplayer
  • memos
  • merkaartor
  • meshcentral
  • micropad
  • mindforger
  • mirakurun
  • mjolnir
  • mkchromecast
  • mkchromecast.dist
  • mnemosyne
  • mnemosyne.dist
  • mongosh
  • mooSpace
  • morgen
  • mpvScripts.webtorrent-mpv-hook
  • musescore
  • muzika
  • n8n
  • napari (python310Packages.napari)
  • napari.dist (python310Packages.napari.dist)
  • napi-rs-cli
  • natron
  • navidrome
  • nest-cli
  • netlify-cli
  • newman
  • nextcloud-client
  • nextcloud-client.dev
  • nmapsi4
  • node-manta
  • node2nix
  • nodejs-slim (nodejs-slim_18)
  • nodejs-slim.libv8 (nodejs-slim_18.libv8)
  • nodejs-slim_20 (nodejs-slim_latest)
  • nodejs-slim_20.libv8 (nodejs-slim_latest.libv8)
  • nodejs_20 (nodejs_latest)
  • nodejs_20.libv8 (nodejs_latest.libv8)
  • notepadqq
  • ntfy-sh
  • onionshare-gui
  • onionshare-gui.dist
  • onlykey
  • open-music-kontrollers.mephisto
  • open-stage-control
  • openboard
  • openmoji-black
  • openmoji-color
  • openshot-qt
  • openshot-qt.dist
  • osmtogeojson
  • outline
  • p4v
  • pairdrop
  • pandoc-drawio-filter
  • pandoc-drawio-filter.dist
  • paperless-ngx
  • patray
  • patray.dist
  • peertube
  • pentobi
  • pgadmin4
  • pgadmin4-desktopmode
  • pgadmin4-desktopmode.dist
  • pgadmin4.dist
  • photofield
  • photoprism
  • plausible
  • playwright (python310Packages.playwright)
  • playwright-driver
  • playwright-test
  • playwright.dist (python310Packages.playwright.dist)
  • plex-media-player
  • pm2
  • pnpm-lock-export
  • podman-desktop
  • polaris
  • polaris-web
  • polychromatic
  • pomerium
  • postcss-cli
  • pot
  • powerdns-admin
  • pre-commit
  • pre-commit.dist
  • prefetch-yarn-deps
  • pscid
  • psi
  • psitransfer
  • pulp
  • pulsar
  • puppeteer-cli
  • purescript-psa
  • pyCA
  • pyCA.dist
  • pyright
  • python-qt
  • python310Packages.bokeh
  • python310Packages.bokeh.dist
  • python310Packages.datashader
  • python310Packages.datashader.dist
  • python310Packages.django-hijack
  • python310Packages.django-hijack.dist
  • python310Packages.django-js-reverse
  • python310Packages.django-js-reverse.dist
  • python310Packages.holoviews
  • python310Packages.holoviews.dist
  • python310Packages.hvplot
  • python310Packages.hvplot.dist
  • python310Packages.intake
  • python310Packages.intake.dist
  • python310Packages.livelossplot
  • python310Packages.livelossplot.dist
  • python310Packages.magicgui
  • python310Packages.magicgui.dist
  • python310Packages.mkdocs-drawio-exporter
  • python310Packages.mkdocs-drawio-exporter.dist
  • python310Packages.napari-npe2
  • python310Packages.napari-npe2.dist
  • python310Packages.nbdev
  • python310Packages.nbdev.dist
  • python310Packages.nbsmoke
  • python310Packages.nbsmoke.dist
  • python310Packages.panel
  • python310Packages.panel.dist
  • python310Packages.pscript
  • python310Packages.pscript.dist
  • python310Packages.pyqt6-webengine
  • python310Packages.pyqt6-webengine.dev
  • python310Packages.pyqt6-webengine.dist
  • python310Packages.pyqtwebengine
  • python310Packages.pyqtwebengine.dev
  • python310Packages.pyqtwebengine.dist
  • python310Packages.pyside2
  • python310Packages.pyside2-tools
  • python310Packages.pyside6
  • python310Packages.pytest-playwright
  • python310Packages.pytest-playwright.dist
  • python310Packages.pywebview
  • python310Packages.pywebview.dist
  • spyder (python310Packages.spyder)
  • spyder.dist (python310Packages.spyder.dist)
  • python310Packages.timetagger
  • python310Packages.timetagger.dist
  • python311Packages.bokeh
  • python311Packages.bokeh.dist
  • python311Packages.django-hijack
  • python311Packages.django-hijack.dist
  • python311Packages.django-js-reverse
  • python311Packages.django-js-reverse.dist
  • python311Packages.foxdot
  • python311Packages.foxdot.dist
  • python311Packages.holoviews
  • python311Packages.holoviews.dist
  • python311Packages.hvplot
  • python311Packages.hvplot.dist
  • python311Packages.intake
  • python311Packages.intake.dist
  • python311Packages.livelossplot
  • python311Packages.livelossplot.dist
  • python311Packages.mkdocs-drawio-exporter
  • python311Packages.mkdocs-drawio-exporter.dist
  • python311Packages.nbdev
  • python311Packages.nbdev.dist
  • python311Packages.nbsmoke
  • python311Packages.nbsmoke.dist
  • python311Packages.panel
  • python311Packages.panel.dist
  • python311Packages.playwright
  • python311Packages.playwright.dist
  • python311Packages.pscript
  • python311Packages.pscript.dist
  • python311Packages.pyqt6-webengine
  • python311Packages.pyqt6-webengine.dev
  • python311Packages.pyqt6-webengine.dist
  • python311Packages.pyqtwebengine
  • python311Packages.pyqtwebengine.dev
  • python311Packages.pyqtwebengine.dist
  • python311Packages.pyside6
  • python311Packages.pytest-playwright
  • python311Packages.pytest-playwright.dist
  • python311Packages.pywebview
  • python311Packages.pywebview.dist
  • python311Packages.spyder
  • python311Packages.spyder.dist
  • python311Packages.timetagger
  • python311Packages.timetagger.dist
  • qmapshack
  • qolibri
  • qsyncthingtray
  • qt6.full (qt6Packages.full)
  • qt6.qtwebengine (qt6Packages.qtwebengine)
  • qt6.qtwebengine.dev (qt6Packages.qtwebengine.dev)
  • qt6.qtwebview (qt6Packages.qtwebview)
  • qt6.qtwebview.dev (qt6Packages.qtwebview.dev)
  • qtcreator-qt6
  • quarto
  • quartoMinimal
  • qutebrowser
  • qutebrowser-qt6
  • qutebrowser-qt6.dist
  • qutebrowser.dist
  • r2modman
  • ratman
  • readability-cli
  • redoc-cli
  • renderdoc
  • resumed
  • retext
  • retext.dist
  • reveal-md
  • rmfakecloud
  • rssguard
  • rstudio
  • rstudio-server
  • rstudioServerWrapper
  • rstudioWrapper
  • sage
  • sageWithDoc
  • sapling
  • sapling.dist
  • schildichat-desktop
  • schildichat-desktop-wayland
  • schildichat-web
  • sdrangel
  • seafile-client
  • semantic-release
  • semantik
  • sharedown
  • sharing
  • shepherd
  • shot-scraper
  • shot-scraper.dist
  • shout
  • sigil
  • skrooge
  • sl1-to-photon
  • slack
  • slimerjs
  • sloc
  • slskd
  • sourcehut.buildsrht
  • sourcehut.buildsrht.dist
  • sourcehut.coresrht
  • sourcehut.coresrht.dist
  • sourcehut.gitsrht
  • sourcehut.gitsrht.dist
  • sourcehut.hgsrht
  • sourcehut.hgsrht.dist
  • sourcehut.hubsrht
  • sourcehut.hubsrht.dist
  • sourcehut.listssrht
  • sourcehut.listssrht.dist
  • sourcehut.mansrht
  • sourcehut.mansrht.dist
  • sourcehut.metasrht
  • sourcehut.metasrht.dist
  • sourcehut.pastesrht
  • sourcehut.pastesrht.dist
  • sourcehut.todosrht
  • sourcehut.todosrht.dist
  • stellarium
  • streamdeck-ui
  • streamdeck-ui.dist
  • stremio
  • styx
  • styx.lib
  • styx.themes
  • subsurface
  • sunshine
  • supercollider
  • supercollider-with-plugins
  • supercollider-with-sc3-plugins
  • supercolliderPlugins.sc3-plugins
  • supercollider_scel
  • swagger-cli
  • synapse-admin
  • syncplay
  • syncthingtray
  • tageditor
  • tambura
  • tandoor-recipes
  • teams
  • teams-for-linux
  • teamspeak_client
  • teamviewer
  • teamviewer.dev
  • teck-programmer
  • teleport (teleport_12)
  • teleport.client (teleport_12.client)
  • teleport_11
  • teleport_11.client
  • tellico
  • terminal-stocks
  • texmaker
  • theLoungePlugins.plugins.closepms
  • theLoungePlugins.plugins.giphy
  • theLoungePlugins.plugins.shortcuts
  • theLoungePlugins.themes.abyss
  • theLoungePlugins.themes.amoled
  • theLoungePlugins.themes.amoled-sourcecodepro
  • theLoungePlugins.themes.bdefault
  • theLoungePlugins.themes.bmorning
  • theLoungePlugins.themes.chord
  • theLoungePlugins.themes.classic
  • theLoungePlugins.themes.common
  • theLoungePlugins.themes.crypto
  • theLoungePlugins.themes.discordapp
  • theLoungePlugins.themes.dracula
  • theLoungePlugins.themes.dracula-official
  • theLoungePlugins.themes.flat-blue
  • theLoungePlugins.themes.flat-dark
  • theLoungePlugins.themes.gruvbox
  • theLoungePlugins.themes.hexified
  • theLoungePlugins.themes.ion
  • theLoungePlugins.themes.light
  • theLoungePlugins.themes.midnight
  • theLoungePlugins.themes.mininapse
  • theLoungePlugins.themes.monokai-console
  • theLoungePlugins.themes.mortified
  • theLoungePlugins.themes.neuron-fork
  • theLoungePlugins.themes.new-morning
  • theLoungePlugins.themes.new-morning-compact
  • theLoungePlugins.themes.nologo
  • theLoungePlugins.themes.nord
  • theLoungePlugins.themes.onedark
  • theLoungePlugins.themes.purplenight
  • theLoungePlugins.themes.scoutlink
  • theLoungePlugins.themes.seraphimrp
  • theLoungePlugins.themes.solarized
  • theLoungePlugins.themes.solarized-fork-monospace
  • theLoungePlugins.themes.zenburn
  • theLoungePlugins.themes.zenburn-monospace
  • theLoungePlugins.themes.zenburn-sourcecodepro
  • thelounge
  • thunderbird-unwrapped (thunderbirdPackages.thunderbird ,thunderbirdPackages.thunderbird-102)
  • thunderbird-unwrapped.debug (thunderbirdPackages.thunderbird-102.debug ,thunderbirdPackages.thunderbird.debug)
  • thunderbird-unwrapped.symbols (thunderbirdPackages.thunderbird-102.symbols ,thunderbirdPackages.thunderbird.symbols)
  • tinygo
  • torq
  • triton
  • tts
  • tts.dist
  • turbo
  • twilio-cli
  • twspace-crawler
  • typescript
  • uivonim
  • ungoogled-chromium
  • ungoogled-chromium.sandbox
  • uppy-companion
  • uptime-kuma
  • v2raya
  • vencord
  • vencord-web-extension
  • vhs
  • vieb
  • vimPlugins.YouCompleteMe
  • vimPlugins.cmp-copilot
  • vimPlugins.cmp-npm
  • vimPlugins.coc-clangd
  • vimPlugins.coc-cmake
  • vimPlugins.coc-css
  • vimPlugins.coc-diagnostic
  • vimPlugins.coc-docker
  • vimPlugins.coc-emmet
  • vimPlugins.coc-eslint
  • vimPlugins.coc-explorer
  • vimPlugins.coc-flutter
  • vimPlugins.coc-git
  • vimPlugins.coc-go
  • vimPlugins.coc-haxe
  • vimPlugins.coc-highlight
  • vimPlugins.coc-html
  • vimPlugins.coc-java
  • vimPlugins.coc-jest
  • vimPlugins.coc-json
  • vimPlugins.coc-lists
  • vimPlugins.coc-ltex
  • vimPlugins.coc-markdownlint
  • vimPlugins.coc-metals
  • vimPlugins.coc-nginx
  • vimPlugins.coc-pairs
  • vimPlugins.coc-prettier
  • vimPlugins.coc-pyright
  • vimPlugins.coc-python
  • vimPlugins.coc-r-lsp
  • vimPlugins.coc-rls
  • vimPlugins.coc-rust-analyzer
  • vimPlugins.coc-sh
  • vimPlugins.coc-smartf
  • vimPlugins.coc-snippets
  • vimPlugins.coc-solargraph
  • vimPlugins.coc-spell-checker
  • vimPlugins.coc-sqlfluff
  • vimPlugins.coc-stylelint
  • vimPlugins.coc-sumneko-lua
  • vimPlugins.coc-tabnine
  • vimPlugins.coc-texlab
  • vimPlugins.coc-toml
  • vimPlugins.coc-tslint
  • vimPlugins.coc-tslint-plugin
  • vimPlugins.coc-tsserver
  • vimPlugins.coc-ultisnips
  • vimPlugins.coc-vetur
  • vimPlugins.coc-vimlsp
  • vimPlugins.coc-vimtex
  • vimPlugins.coc-wxml
  • vimPlugins.coc-yaml
  • vimPlugins.coc-yank
  • vimPlugins.copilot-vim
  • vimPlugins.markdown-preview-nvim
  • vimPlugins.nvim-treesitter-parsers.d
  • vimPlugins.nvim-treesitter-parsers.mlir
  • vimPlugins.nvim-treesitter-parsers.ocamllex
  • vimPlugins.nvim-treesitter-parsers.swift
  • vimPlugins.nvim-treesitter-parsers.teal
  • vivisect
  • vivisect.dist
  • vlang
  • vnote
  • vsce
  • vscode
  • vscode-extensions.ms-python.vscode-pylance
  • vscode-extensions.rust-lang.rust-analyzer
  • vscode-extensions.vadimcn.vscode-lldb
  • vscode-fhs
  • vscode-langservers-extracted
  • vscode-with-extensions
  • vscodium
  • vscodium-fhs
  • wacomtablet
  • wails
  • wasm-bindgen-cli
  • wasm-strip
  • wasm-text-gen
  • wast-refmt
  • wayback
  • webassemblyjs-cli
  • webassemblyjs-repl
  • webcord
  • webcord-vencord
  • webmacs
  • webmacs.dist
  • webtorrent_desktop
  • weylus
  • whitebophir
  • windmill
  • woodpecker-server
  • wrangler
  • wring
  • xplorer
  • yacas-gui
  • yaml-language-server
  • yarn
  • yarn-lock-converter
  • yarn2nix
  • ycmd
  • yuzu-early-access
  • yuzu-mainline
  • zammad
  • zeal (zeal-qt5)
  • zeal-qt6
  • zigbee2mqtt
  • zincsearch
  • zrythm
  • zx

@tie tie marked this pull request as ready for review June 25, 2023 13:39
@lilyinstarlight lilyinstarlight added the 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment label Jun 29, 2023
Copy link
Member

@lilyinstarlight lilyinstarlight left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left one comment, but otherwise this looks fine enough for me now. Do you have any other thoughts @marsam?

@tie tie requested a review from lilyinstarlight July 18, 2023 16:35
@tie
Copy link
Member Author

tie commented Aug 27, 2023

@SuperSandro2000 @lilyinstarlight, gentle ping, is there anything else blocking this PR?

Copy link
Contributor

@marsam marsam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@SuperSandro2000
Copy link
Member

I am not that fit in cross to know if this is the correct way or not.

@marsam
Copy link
Contributor

marsam commented Aug 27, 2023

I think the patch common-gypi-cross.patch is already included in v20.5.0
@GrahamcOfBorg eval
@GrahamcOfBorg build nodejs_20

@ofborg ofborg bot requested a review from marsam August 27, 2023 21:19
tie added 4 commits August 28, 2023 12:16
Building --without-snapshot is no longer possible since v14. See
nodejs/node@0822bfa
This change adds a fix for Node.js build system passing flags intended
for the target toolchain to the host toolchain.
@tie
Copy link
Member Author

tie commented Aug 28, 2023

@marsam I think the patch common-gypi-cross.patch is already included in v20.5.0

You are right, I’ve rebased the branch and removed the patch for v20.

@marsam marsam merged commit 927fef8 into NixOS:staging Aug 28, 2023
@tie tie deleted the nodejs-cross branch March 7, 2025 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cross-compilation Building packages on a different platform than they will be used on 6.topic: nodejs Node.js is a free, open-source, cross-platform JavaScript runtime environment 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501-1000 This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants