Repository navigation
Closed
Closed
Copy link
Labels
0.kind: bugSomething is broken
Description
Nixpkgs version
- Unstable (26.05)
Describe the bug
When building from current master (rev c87bac0) signal-desktop fails to start with an mising module error.
THanks for liiking into this.
Steps to reproduce
- Build current signal-desktop
- start from terminal
- crashes before showing any GUI elements
Expected behaviour
The app should start normally
Screenshots
No response
Relevant log output
❯ signal-desktop
NODE_ENV production
NODE_CONFIG_DIR /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME transporta
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/julia/.config/Signal
App threw an error during load
Error: Cannot find module 'brace-expansion'
Require stack:
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/node_modules/minimatch/minimatch.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/node_modules/@electron/asar/lib/asar.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/ts/updater/linux.main.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/ts/updater/index.main.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/app/main.main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:136291)
at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
at Module._load (node:internal/modules/cjs/loader:1199:37)
at c._load (node:electron/js2c/node_init:2:17993)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at Module.require (node:internal/modules/cjs/loader:1470:12)
at require (node:internal/modules/helpers:147:16)
Unhandled Error: Error: Cannot find module 'brace-expansion'
Require stack:
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/node_modules/minimatch/minimatch.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/node_modules/@electron/asar/lib/asar.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/ts/updater/linux.main.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/ts/updater/index.main.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/app/main.main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:136291)
at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
at Module._load (node:internal/modules/cjs/loader:1199:37)
at c._load (node:electron/js2c/node_init:2:17993)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at Module.require (node:internal/modules/cjs/loader:1470:12)
at require (node:internal/modules/helpers:147:16)
Unhandled Error
Error: Cannot find module 'brace-expansion'
Require stack:
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/node_modules/minimatch/minimatch.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/node_modules/@electron/asar/lib/asar.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/ts/updater/linux.main.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/ts/updater/index.main.js
- /nix/store/l2dn45hgyyqfwz23vwssnwqhigxvnhv6-signal-desktop-7.89.0/share/signal-desktop/app.asar/app/main.main.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1390:15)
at s._resolveFilename (node:electron/js2c/browser_init:2:136291)
at defaultResolveImpl (node:internal/modules/cjs/loader:1032:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1037:22)
at Module._load (node:internal/modules/cjs/loader:1199:37)
at c._load (node:electron/js2c/node_init:2:17993)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:244:24)
at Module.require (node:internal/modules/cjs/loader:1470:12)
at require (node:internal/modules/helpers:147:16)Additional context
I tried removing my existing config dir to see if my profile was causing an issue. Didn't change anything
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.19.2, NixOS, 26.05 (Yarara), 26.05.git.c87bac051e49 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.94.0 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/julia/.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/julia/.local/share/flatpak/exports/etc/xdg/nix/nix.conf:/var/lib/flatpak/exports/etc/xdg/nix/nix.conf:/home/julia/.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/julia/.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/julia/etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/qjr1fm8hzppvjmmhk4slxxpa9iv3djfd-lix-2.94.0/share - channels(root):
"home-manager, nixos" - nixpkgs:
/nix/var/nix/profiles/per-user/root/channels/nixos
Notify maintainers
@eclairevoyant @marcin-serwin @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 Sefa Eyeoglu and Benjamin Melançon
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is broken
Activity
marcin-serwin commentedon Feb 19, 2026
I can reproduce, bisected to #488068
marcin-serwin commentedon Feb 19, 2026
Thanks for catching it this early
juliadin commentedon Feb 19, 2026
thanks a lot for the swift reply <3 .... i am mad enough to use my daily driver on a recent main checkout :) - helps with noticing.
mlncn commentedon Feb 24, 2026
Not sure if it is appropriate to re-open this issue or make a new one or what, but this error has made its way into nix stable.
gepbird commentedon Feb 24, 2026
Can you explain in more detail? I just checked out nixos-25.11 (e764fc9), and
signal-desktopstarts. We didn't backport the breaking pnpm bump, so it shouldn't fail with the same cause.If it's related to this specific issue it's fine to reopen, but likely you are facing a different error.
mlncn commentedon Feb 24, 2026
Thank you— it really looks like the same…
System metadata
"x86_64-linux"Linux 6.18.12, NixOS, 26.05 (Yarara), 26.05pre948651.724cf38d99bayesyesnix-env (Nix) 2.31.3"home-manager-24.05.tar.gz, nixos-25.05, nixos-hardware, nixpkgs"/nix/store/4jnnysmn3mpb7ndi3i71zlc0qj73srkc-nixos-25.05/nixosRelevant Log Output
marcin-serwin commentedon Feb 24, 2026
Your logs show signal version 7.89 but both stable and unstable have 7.90. You are using an older commit that is still affected by this issue.
mlncn commentedon Feb 25, 2026
OK thanks. I had done a
nixos-rebuild switch --upgrade-alltwice this morning. 😂 A lot more updates came in on the third try— had to drop comaps and some other packages that were breaking, but Signal is the important one and it is all set now, thank you!