Home / Input Output / daedalus
Feb 15, 7-8 AM (0)
Feb 15, 8-9 AM (0)
Feb 15, 9-10 AM (0)
Feb 15, 10-11 AM (0)
Feb 15, 11-12 PM (0)
Feb 15, 12-1 PM (0)
Feb 15, 1-2 PM (0)
Feb 15, 2-3 PM (1)
Feb 15, 3-4 PM (0)
Feb 15, 4-5 PM (0)
Feb 15, 5-6 PM (0)
Feb 15, 6-7 PM (0)
Feb 15, 7-8 PM (0)
Feb 15, 8-9 PM (0)
Feb 15, 9-10 PM (0)
Feb 15, 10-11 PM (0)
Feb 15, 11-12 AM (0)
Feb 16, 12-1 AM (0)
Feb 16, 1-2 AM (0)
Feb 16, 2-3 AM (0)
Feb 16, 3-4 AM (0)
Feb 16, 4-5 AM (0)
Feb 16, 5-6 AM (0)
Feb 16, 6-7 AM (0)
Feb 16, 7-8 AM (0)
Feb 16, 8-9 AM (0)
Feb 16, 9-10 AM (0)
Feb 16, 10-11 AM (0)
Feb 16, 11-12 PM (0)
Feb 16, 12-1 PM (0)
Feb 16, 1-2 PM (0)
Feb 16, 2-3 PM (0)
Feb 16, 3-4 PM (5)
Feb 16, 4-5 PM (0)
Feb 16, 5-6 PM (0)
Feb 16, 6-7 PM (0)
Feb 16, 7-8 PM (1)
Feb 16, 8-9 PM (0)
Feb 16, 9-10 PM (0)
Feb 16, 10-11 PM (0)
Feb 16, 11-12 AM (0)
Feb 17, 12-1 AM (0)
Feb 17, 1-2 AM (0)
Feb 17, 2-3 AM (0)
Feb 17, 3-4 AM (0)
Feb 17, 4-5 AM (0)
Feb 17, 5-6 AM (0)
Feb 17, 6-7 AM (0)
Feb 17, 7-8 AM (0)
Feb 17, 8-9 AM (0)
Feb 17, 9-10 AM (0)
Feb 17, 10-11 AM (0)
Feb 17, 11-12 PM (0)
Feb 17, 12-1 PM (0)
Feb 17, 1-2 PM (0)
Feb 17, 2-3 PM (0)
Feb 17, 3-4 PM (1)
Feb 17, 4-5 PM (1)
Feb 17, 5-6 PM (0)
Feb 17, 6-7 PM (0)
Feb 17, 7-8 PM (0)
Feb 17, 8-9 PM (0)
Feb 17, 9-10 PM (0)
Feb 17, 10-11 PM (0)
Feb 17, 11-12 AM (0)
Feb 18, 12-1 AM (0)
Feb 18, 1-2 AM (0)
Feb 18, 2-3 AM (0)
Feb 18, 3-4 AM (0)
Feb 18, 4-5 AM (0)
Feb 18, 5-6 AM (0)
Feb 18, 6-7 AM (0)
Feb 18, 7-8 AM (0)
Feb 18, 8-9 AM (0)
Feb 18, 9-10 AM (0)
Feb 18, 10-11 AM (0)
Feb 18, 11-12 PM (0)
Feb 18, 12-1 PM (0)
Feb 18, 1-2 PM (0)
Feb 18, 2-3 PM (0)
Feb 18, 3-4 PM (0)
Feb 18, 4-5 PM (0)
Feb 18, 5-6 PM (0)
Feb 18, 6-7 PM (0)
Feb 18, 7-8 PM (0)
Feb 18, 8-9 PM (0)
Feb 18, 9-10 PM (0)
Feb 18, 10-11 PM (0)
Feb 18, 11-12 AM (0)
Feb 19, 12-1 AM (0)
Feb 19, 1-2 AM (0)
Feb 19, 2-3 AM (0)
Feb 19, 3-4 AM (0)
Feb 19, 4-5 AM (0)
Feb 19, 5-6 AM (0)
Feb 19, 6-7 AM (0)
Feb 19, 7-8 AM (0)
Feb 19, 8-9 AM (0)
Feb 19, 9-10 AM (0)
Feb 19, 10-11 AM (0)
Feb 19, 11-12 PM (0)
Feb 19, 12-1 PM (0)
Feb 19, 1-2 PM (0)
Feb 19, 2-3 PM (0)
Feb 19, 3-4 PM (1)
Feb 19, 4-5 PM (0)
Feb 19, 5-6 PM (0)
Feb 19, 6-7 PM (1)
Feb 19, 7-8 PM (3)
Feb 19, 8-9 PM (14)
Feb 19, 9-10 PM (0)
Feb 19, 10-11 PM (0)
Feb 19, 11-12 AM (0)
Feb 20, 12-1 AM (0)
Feb 20, 1-2 AM (0)
Feb 20, 2-3 AM (0)
Feb 20, 3-4 AM (0)
Feb 20, 4-5 AM (0)
Feb 20, 5-6 AM (0)
Feb 20, 6-7 AM (0)
Feb 20, 7-8 AM (0)
Feb 20, 8-9 AM (0)
Feb 20, 9-10 AM (0)
Feb 20, 10-11 AM (0)
Feb 20, 11-12 PM (0)
Feb 20, 12-1 PM (0)
Feb 20, 1-2 PM (4)
Feb 20, 2-3 PM (0)
Feb 20, 3-4 PM (0)
Feb 20, 4-5 PM (0)
Feb 20, 5-6 PM (0)
Feb 20, 6-7 PM (0)
Feb 20, 7-8 PM (0)
Feb 20, 8-9 PM (0)
Feb 20, 9-10 PM (0)
Feb 20, 10-11 PM (0)
Feb 20, 11-12 AM (0)
Feb 21, 12-1 AM (0)
Feb 21, 1-2 AM (0)
Feb 21, 2-3 AM (0)
Feb 21, 3-4 AM (0)
Feb 21, 4-5 AM (0)
Feb 21, 5-6 AM (0)
Feb 21, 6-7 AM (0)
Feb 21, 7-8 AM (0)
Feb 21, 8-9 AM (0)
Feb 21, 9-10 AM (0)
Feb 21, 10-11 AM (0)
Feb 21, 11-12 PM (2)
Feb 21, 12-1 PM (0)
Feb 21, 1-2 PM (0)
Feb 21, 2-3 PM (3)
Feb 21, 3-4 PM (2)
Feb 21, 4-5 PM (1)
Feb 21, 5-6 PM (0)
Feb 21, 6-7 PM (4)
Feb 21, 7-8 PM (0)
Feb 21, 8-9 PM (0)
Feb 21, 9-10 PM (0)
Feb 21, 10-11 PM (0)
Feb 21, 11-12 AM (0)
Feb 22, 12-1 AM (2)
Feb 22, 1-2 AM (0)
Feb 22, 2-3 AM (0)
Feb 22, 3-4 AM (0)
Feb 22, 4-5 AM (1)
Feb 22, 5-6 AM (0)
Feb 22, 6-7 AM (0)
Feb 22, 7-8 AM (0)
47 commits this week Feb 15, 2026 - Feb 22, 2026
fix(nix): use pkgsJs stdenv for Darwin builds to fix native module compilation
Switch from pkgs.stdenv (nixpkgs-25.11) to pkgsJs.stdenv (nixpkgs-22.11)
for Darwin daedalus derivation to fix native module compilation issues.

Root cause:
- Darwin native modules (bigint-buffer, blake-hash, etc.) fail to compile
  with the newer clang 21.1.7 from nixpkgs-25.11
- These modules were built/tested with the older toolchain from
  nixpkgs-22.11-darwin
- Using mismatched stdenv and darwin frameworks causes compilation errors

Solution:
- Use pkgsJs.stdenv.mkDerivation for the main daedalus package
- This provides the older, stable Darwin toolchain that native modules expect
- Aligns with existing use of pkgsJs.darwin frameworks and pkgsJs.python3
- Removes the clang++ wrapper that was causing 'Argument list too long' errors

The wrapper approach is no longer needed because:
- CXXFLAGS=-Wno-error is set via environment variables in patchElectronRebuild
- Using the correct stdenv avoids the enum-constexpr issues entirely
fix(nix): add clang++ wrapper to inject -Wno-error for darwin builds
Native module compilation during electron-rebuild fails because newer
clang enforces strict enum checking. Environment variables don't
propagate through the electron-rebuild -> node-gyp -> make -> clang++
chain.

Solution: Create a clang++ wrapper that automatically adds -Wno-error
to all compiler invocations. This intercepts the compiler calls from
make during native module builds.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
fix(nix): use -Wno-error for darwin native module compilation
Changes:
- Updated node_modules derivation to use -Wno-error instead of
  -Wno-enum-constexpr-conversion for npm_config_cxxflags
- Updated daedalus derivation to match
- Updated rebuild-native-modules.sh script to export the flag with multiple
  variations for compatibility

The -Wno-enum-constexpr-conversion flag is not supported by older clang
versions in nixpkgs-22.11 (used for aarch64-darwin native builds). Using
-Wno-error makes all warnings non-fatal and works across all clang versions,
fixing blake-hash compilation errors.

This fix applies to:
- x86_64-darwin (cross-compiled on aarch64)
- aarch64-darwin (native builds)

Fixes the enum constexpr conversion error in node-addon-api header that
occurs when compiling native Node.js modules with newer clang that enforces
stricter enum type checking.
fix(nix): use -Wno-error for darwin native module compilation
Changes:
- Updated node_modules derivation to use -Wno-error instead of
  -Wno-enum-constexpr-conversion for npm_config_cxxflags
- Updated daedalus derivation to match
- Updated rebuild-native-modules.sh script to export the flag with multiple
  variations for compatibility

The -Wno-enum-constexpr-conversion flag is not supported by older clang
versions in nixpkgs-22.11 (used for aarch64-darwin native builds). Using
-Wno-error makes all warnings non-fatal and works across all clang versions,
fixing blake-hash compilation errors.

This fix applies to:
- x86_64-darwin (cross-compiled on aarch64)
- aarch64-darwin (native builds)

Fixes the enum constexpr conversion error in node-addon-api header that
occurs when compiling native Node.js modules with newer clang that enforces
stricter enum type checking.
fix(nix): export npm_config_cxxflags in buildPhase for aarch64-darwin
Previously, npm_config_cxxflags was only set as a derivation attribute but not
explicitly exported in the buildPhase script. This caused electron-rebuild on
native aarch64-darwin builds to not pick up the -Wno-enum-constexpr-conversion
flag, resulting in blake-hash compilation errors.

The export now ensures both x86_64-darwin cross-compilation and native
aarch64-darwin builds properly pass the flag to node-gyp/electron-rebuild.
fix(nix): disable strict enum checking for darwin cross-compilation
Add -Wno-enum-constexpr-conversion flag to allow blake-hash and other
native modules to compile when cross-compiling x86_64-darwin on Apple
Silicon builders. The node-addon-api uses -1 as a sentinel enum value
which newer clang versions reject as invalid.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
fix(nix): use nixpkgs-22.11 stdenv for Darwin node_modules build
Use pkgsJs.stdenv.mkDerivation instead of pkgs.stdenv.mkDerivation for
the node_modules derivation on Darwin. This ensures the entire build
environment (compiler, linker, and build tools) comes from nixpkgs-22.11,
avoiding both clang enum compatibility issues and linker errors with
native node modules.

Also consolidate darwin.cctools, xcbuild, and python3 to use pkgsJs for
consistency.
fix(nix): use nixpkgs-22.11 for compatibility in Darwin and Windows builds
Use pkgsJs (nixpkgs-22.11) instead of pkgs (nixpkgs-25.11) for:
- Darwin: darwin.cctools, xcbuild, python3 to avoid clang compatibility
  issues with node-addon-api (enum value -1 error)
- Windows: haskell.lib.justStaticExecutables to avoid disallowGhcReference
  argument incompatibility in Haskell generic-builder

These components require the older toolchain from nixpkgs-22.11 to build
successfully after the nixpkgs-25.11 upgrade.
fix(nix): use pkgsJs for Windows installer Haskell build
GHC 8.10.7 (ghc8107) was removed in nixpkgs-25.11, so the Windows
installer build needs to use pkgsJs (nixpkgs-22.11) where it still exists.

This error surfaced in the flake-parts branch because Windows installers
are now exposed in packages.x86_64-linux (for cross-compilation), which
causes eager evaluation. On the mithril branch, they were only in hydraJobs.
fix(nix): use nixpkgsJs libraries in devShell for glibc compatibility
Fixes GLIBC_2.39 mismatch errors on non-NixOS systems when running
yarn dev. The native node modules (usb_bindings.node, HID.node,
detection.node) are now built and patched against libraries from
nixpkgs-22.11 (glibc 2.35) to match the electron bundle.

Changes:
- devshells.nix: Use pkgsJs for libusb1, systemd, and compiler runtime
- x86_64-windows.nix: Use pkgsJs.libusb1 for consistency

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
build(nix): separate nixpkgsJs and nixpkgs for glibc compatibility
- Add nixpkgsJs input pinned to nixpkgs-22.11-darwin
- Use pkgsJs for electron and native module builds to avoid glibc version mismatch
- Apply glibc-electron-loader.patch to pkgsJs.glibc for electron LD_PLEASE_INTERPRET support
- Update node_modules and daedalusJs derivations to use pkgsJs.stdenv
- Improve source filtering to exclude .direnv, .agent, node_modules, etc.

This fixes the 'GLIBC_2.38 not found' error when running daedalus-preview
by ensuring native Node.js modules are built with the same glibc version
as the bundled electron.