Merge pull request #3332 from input-output-hk/sl/wallet-bump
Daedalus 11.0 release
Daedalus 11.0 release
chore: update cardano-node -> 11.0.1
Build-time fixes (node_modules derivation + electron-rebuild): - Update Electron 41.3.0 hashes and skip electron-chromedriver install - Skip node-hid, usb, fsevents install scripts; use N-API prebuilts or omit (fsevents v1 uses removed v8::Object::GetIsolate, not needed at runtime) - Remove all fsevents instances before electron-rebuild (yarn v1 nests fsevents v1.x inside chokidar/node_modules; electron-rebuild scans recursively) - Patch node-addon-api napi.h: static const → static inline const to fix Apple Clang 15 enum constexpr error, applied to all darwin targets since electron-rebuild --force recompiles from source on both x86_64 and aarch64 - Pass CXXFLAGS=-Wno-error and NIX_CFLAGS_COMPILE for remaining warnings Packaging fixes (package derivation): - usb v2+ uses node-gyp-build (not 'bindings'), so also run bundleNodeJsNativeModule in-place in node_modules/usb/build/Release/ and exempt it from the installPhase *.node sweep - Fix scoped package (@scope/pkg) copy: cp -r -t dest/ node_modules/@scope/pkg strips the @scope parent; use a loop with mkdir -p instead
- Fix nixpkgs-25.11 eval failures on Darwin and Windows - Replace external Haskell installer tool with inline Nix NSIS generation - Update electron headers, patchElectronRebuild, and common build settings for Electron 41 (new Node.js ABI 145, updated header hashes) - Fix Windows cross-compilation: update native module paths and loaders - Add ELECTRON_SKIP_BINARY_DOWNLOAD to prevent network access in Nix sandbox
Upgrade Electron and update all JS dependencies. Key changes: - Electron 24.2.0 → 41.3.0 (Node.js 24, Chromium 130) - MobX 5 + SWC: set legacyDecorator/useDefineForClassFields in webpack, relax enforceActions from 'always' to 'observed' - @trezor/connect, node-hid, usb, tiny-secp256k1, blake-hash bumped - Fix jest moduleNameMapper and storybook webpack for new module paths - re-patch electron binary PT_INTERP on Linux after self-extracting archive extraction so /proc/self/exe resolves correctly for zygote re-exec
cp -r -t dest/ node_modules/@scope/pkg strips the @scope component and
creates dest/pkg instead of dest/@scope/pkg, breaking require('@scope/pkg')
at runtime. This silently dropped dozens of scoped packages including
@scure/bip39, @ethereumjs/*, @solana/*, @jridgewell/*, etc.
Replace the xargs one-liner with a loop that calls mkdir -p on the scope
directory before copying, so scoped packages land in the correct path.
usb v2+ switched from the 'bindings' npm package to 'node-gyp-build', so it looks for its native module in node_modules/usb/build/Release/ rather than via DAEDALUS_INSTALL_DIRECTORY. The existing approach (moving the .node to Contents/MacOS/ and patching bindings.js) only works for packages using the 'bindings' package. Fix: also run bundleNodeJsNativeModule on the in-place copy in node_modules/usb/build/Release/, and exempt it from the installPhase find-and-delete sweep so node-gyp-build can find it at runtime.
electron-rebuild --force rebuilds all native modules from source in the package derivation, including blake-hash on x86_64-darwin. The napi.h patch (static const → static inline const) must be present for any darwin target using Apple Clang 15+, not just aarch64. Fixes: blake-hash compile error on x86_64-darwin CI
electron-rebuild --force rebuilds all native modules from source in the package derivation, including blake-hash on x86_64-darwin. The napi.h patch (static const → static inline const) must be present for any darwin target using Apple Clang 15+, not just aarch64. Fixes: blake-hash compile error on x86_64-darwin CI