Repository navigation
Closed
Labels
Description
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
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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Gus, Anna Oake, Matteo Pacini, Ross A. Baker, Blastboom Strice, Austin Horstman, Emanuel Pilz, Tiziano Müller, Atemo Cajaku, Adrian Perez and 2 more
Activity
teutat3s commentedon Feb 2, 2026
Please test the proposed fix in: #486275
With
flakesenabled:dev-zero commentedon Feb 10, 2026
on
x86_64-darwin, though.chore: remove element-desktop because broken on darwin
viraptor commentedon Mar 18, 2026
This will be possible to build again, once #500966 lands.