Skip to content

Build failure: element-desktop #485589

Closed

Description

@mio-aotearoa

Nixpkgs version

  • Unstable (26.05)

Steps to reproduce

nix build nixpkgs#element-desktop

Can Hydra reproduce this build failure?

Yes, Hydra can reproduce this build failure.

Link to Hydra build job

https://hydra.nixos.org/build/320743534

Relevant log output

error: builder for '/nix/store/dmnvs1d6facg7lklrhf942g3zgb9nzma-element-desktop-1.12.9.drv' failed with exit code 1;
       last 25 log lines:
       > description: Element: the future of secure communication
       > protocols: io.element.desktop,element
       >   • loaded configuration  file=/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/electron-builder.ts
       >   • writing effective config  file=dist/builder-effective-config.yaml
       >   • executing @electron/rebuild  electronVersion=39.4.0 arch=arm64 buildFromSource=false workspaceRoot=/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source projectDir=./ appDir=./
       >   • installing native dependencies  arch=arm64
       >   • completed installing native dependencies
       >   • packaging       platform=darwin arch=arm64 electron=39.4.0 appOutDir=dist/mac-arm64
       >   • using custom unpacked Electron distribution  electronDist=electron-dist
       >   • copying unpacked Electron  source=/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/electron-dist/Electron.app destination=/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/dist/mac-arm64/Electron.app
       >   • could not find package matching version  pkgName=@types/node version=^22.10.3 parentPath=/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/node_modules/png-to-ico
       >   • could not find package matching version  pkgName=@types/pg-pool version=2.0.6 parentPath=/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/node_modules/@opentelemetry/instrumentation-pg
       >   ⨯ Failed to check actool version. Is Xcode 26 or higher installed? See output of the `actool --version` CLI command for more details.  failedTask=build stackTrace=Error: Failed to check actool version. Is Xcode 26 or higher installed? See output of the `actool --version` CLI command for more details.
       >     at Object.<anonymous> (/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/node_modules/app-builder-lib/src/util/macosIconComposer.ts:15:38)
       >     at Module._compile (node:internal/modules/cjs/loader:1761:14)
       >     at Object..js (node:internal/modules/cjs/loader:1893:10)
       >     at Module.load (node:internal/modules/cjs/loader:1481:32)
       >     at Module._load (node:internal/modules/cjs/loader:1300:12)
       >     at TracingChannel.traceSync (node:diagnostics_channel:328:14)
       >     at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
       >     at Module.require (node:internal/modules/cjs/loader:1504:12)
       >     at require (node:internal/modules/helpers:152:16)
       >     at Object.<anonymous> (/nix/var/nix/builds/nix-build-element-desktop-1.12.9.drv-0/b/source/node_modules/app-builder-lib/src/platformPackager.ts:51:1)
       > error Command failed with exit code 1.
       > info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
       For full logs, run 'nix log /nix/store/dmnvs1d6facg7lklrhf942g3zgb9nzma-element-desktop-1.12.9.drv'.

Additional context

workaround: pin to "github:NixOS/nixpkgs/afce96367b2e37fc29afb5543573cd49db3357b7"
No response

System metadata

  • system: "aarch64-darwin"
  • host os: Darwin 24.6.0, macOS 15.7.4
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Lix, like Nix) 2.93.3 System type: aarch64-darwin Additional system types: x86_64-darwin Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /Users/user/.config/nix/nix.conf:/Users/user/.nix-profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/user/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/27h1iy6gra2r9g01cvh6dg0n468acqg3-lix-2.93.3/share
  • nixpkgs: /nix/store/19n52d86cl95nj8jp5rgrh36sl762fba-source

Notify maintainers

@Ma27 @mguentner @D4ndellion @NickCao @teutat3s


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. teutat3s commented on Feb 2, 2026

    @teutat3s
    Member

    Please test the proposed fix in: #486275

    With flakes enabled:

    nix build github:nixos/nixpkgs/refs/pull/486275/head#element-desktop
    
  2. self-assigned this
    on Feb 2, 2026
  3. dev-zero commented on Feb 10, 2026

    @dev-zero
    ~ ❯ nix build github:nixos/nixpkgs/refs/pull/486275/head#element-desktop
    error: Cannot build '/nix/store/jp2rg9ivmsj4blplyg004g89bz2agyjn-element-desktop-1.12.9.drv'.
           Reason: builder failed with exit code 1.
           Output paths:
             /nix/store/q597mzssq8hxzsw51hrylr0pk2l1p09k-element-desktop-1.12.9
           Last 25 log lines:
           > description: Element: the future of secure communication
           > protocols: io.element.desktop,element
           >   • loaded configuration  file=/nix/var/nix/builds/nix-30398-4180327413/source/electron-builder.ts
           >   • writing effective config  file=dist/builder-effective-config.yaml
           >   • executing @electron/rebuild  electronVersion=39.4.0 arch=x64 buildFromSource=false workspaceRoot=/nix/var/nix/builds/nix-30398-4180327413/source projectDir=./ appDir=./
           >   • installing native dependencies  arch=x64
           >   • completed installing native dependencies
           >   • packaging       platform=darwin arch=x64 electron=39.4.0 appOutDir=dist/mac
           >   • using custom unpacked Electron distribution  electronDist=electron-dist
           >   • copying unpacked Electron  source=/nix/var/nix/builds/nix-30398-4180327413/source/electron-dist/Electron.app destination=/nix/var/nix/builds/nix-30398-4180327413/source/dist/mac/Electron.app
           >   • could not find package matching version  pkgName=@types/node version=^22.10.3 parentPath=/nix/var/nix/builds/nix-30398-4180327413/source/node_modules/png-to-ico
           >   • could not find package matching version  pkgName=@types/pg-pool version=2.0.6 parentPath=/nix/var/nix/builds/nix-30398-4180327413/source/node_modules/@opentelemetry/instrumentation-pg
           >   ⨯ Failed to check actool version. Is Xcode 26 or higher installed? See output of the `actool --version` CLI command for more details.  failedTask=build stackTrace=Error: Failed to check actool version. Is Xcode 26 or higher installed? See output of the `actool --version` CLI command for more details.
           >     at Object.<anonymous> (/nix/var/nix/builds/nix-30398-4180327413/source/node_modules/app-builder-lib/src/util/macosIconComposer.ts:15:38)
           >     at Module._compile (node:internal/modules/cjs/loader:1761:14)
           >     at Object..js (node:internal/modules/cjs/loader:1893:10)
           >     at Module.load (node:internal/modules/cjs/loader:1481:32)
           >     at Module._load (node:internal/modules/cjs/loader:1300:12)
           >     at TracingChannel.traceSync (node:diagnostics_channel:328:14)
           >     at wrapModuleLoad (node:internal/modules/cjs/loader:245:24)
           >     at Module.require (node:internal/modules/cjs/loader:1504:12)
           >     at require (node:internal/modules/helpers:152:16)
           >     at Object.<anonymous> (/nix/var/nix/builds/nix-30398-4180327413/source/node_modules/app-builder-lib/src/platformPackager.ts:51:1)
           > error Command failed with exit code 1.
           > info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
           For full logs, run:
             nix log /nix/store/jp2rg9ivmsj4blplyg004g89bz2agyjn-element-desktop-1.12.9.drv
    

    on x86_64-darwin, though.

  4. added
    6.topic: darwin
    on Mar 4, 2026
  5. viraptor commented on Mar 18, 2026

    @viraptor
    Contributor

    This will be possible to build again, once #500966 lands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: build failure6.topic: darwin

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions