Repository navigation
Closed
Labels
0.kind: bugSomething is broken
Description
Nixpkgs version
- Unstable (26.11)
Describe the bug
discord-canary fails to launch.
Steps to reproduce
Run NIXPKGS_ALLOW_UNFREE=1 nix run --impure nixpkgs#discord-canary
Minimal reproducer
Expected behaviour
discord-canary should launch normally.
Screenshots
No response
Relevant log output
~ ❯ NIXPKGS_ALLOW_UNFREE=1 nix run --impure nixpkgs#discord-canary
[Nix] Disabling updates already done
DiscordCanary 1.0.2365
App ready
(node:4631) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `DiscordCanary --trace-deprecation ...` to show where the warning was created)
Starting app.
Starting updater.
10/29/2026, 2:38:13 PM GMT+1 [Modules] Modules initializing
10/29/2026, 2:38:13 PM GMT+1 [Modules] Distribution: remote
10/29/2026, 2:38:13 PM GMT+1 [Modules] Host updates: disabled
10/29/2026, 2:38:13 PM GMT+1 [Modules] Module updates: disabled
10/29/2026, 2:38:13 PM GMT+1 [Modules] Module install path: /home/mrmyxa/.config/discordcanary/1.0.2365/modules
10/29/2026, 2:38:13 PM GMT+1 [Modules] Module installed file path: /home/mrmyxa/.config/discordcanary/1.0.2365/modules/installed.json
10/29/2026, 2:38:13 PM GMT+1 [Modules] Module download path: /home/mrmyxa/.config/discordcanary/1.0.2365/modules/pending
splashScreen.initSplash(false)
10/29/2026, 2:38:13 PM GMT+1 [Modules] No updates to install
splashScreen: no-pending-updates
10/29/2026, 2:38:13 PM GMT+1 [Modules] Host is up to date.
splashScreen: checking-for-updates
splashScreen.updateSplashState checking-for-updates checking-for-updates {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'checking-for-updates' } ]
splashScreen: update-check-finished true 0 false
splashScreen.launchMainWindow: false
Optional module ./ElectronTestRpc was not included.
Clearing GPU cache...
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
blackbox: 10/29/2026, 2:38:13 PM GMT+1 0
----------------------------------------------
blackbox: 10/29/2026, 2:38:13 PM GMT+1 1 Discord starting: {"releaseChannel":"canary","sentryDist":"canary-linux-x64","sentryRelease":"discord-desktop-36273735f303f22c596c036732ee07a2826b0a77","version":"1.0.2365","disableUpdater":false}, modulepath: /home/mrmyxa/.config/discordcanary/module_data
blackbox: 10/29/2026, 2:38:13 PM GMT+1 2 ✅ webContents.created web2 ""
blackbox: 10/29/2026, 2:38:13 PM GMT+1 3 ✅ webContents.created web1 "index.html"
Clearing code cache...
(electron) 'console-message' arguments are deprecated and will be removed. Please use Event<WebContentsConsoleMessageEventParams> object instead.
14:38:13.868 › splashScreenPreload: signalReady
splashScreen: SPLASH_SCREEN_READY
splashScreen.webContentsSend: SPLASH_SCREEN_QUOTE SPLASH_SCREEN_QUOTE [ 'Hold Tight — Loading Discord' ]
splashScreen: Resending splash state after SPLASH_SCREEN_READY: launching
splashScreen.updateSplashState launching launching {}
splashScreen.webContentsSend: SPLASH_UPDATE_STATE SPLASH_UPDATE_STATE [ { status: 'launching' } ]
14:38:13.873 › splashScreenPreload: onStateUpdate: {"status":"checking-for-updates"}
14:38:13.875 › splashScreenPreload: onStateUpdate: {"status":"launching"}
14:38:13.877 › splashScreenPreload: onStateUpdate: {"status":"launching"}
blackbox: 10/29/2026, 2:38:13 PM GMT+1 4 ✅ window.created win2 "Discord"
blackbox: 10/29/2026, 2:38:13 PM GMT+1 5 ✅ window.created win1 "discord-canary"
blackbox: 10/29/2026, 2:38:13 PM GMT+1 6 ✅ webContents.did-finish-load web1
[ConnectivityTester vgdkry] Sending DNS query: idt-vgdkry-mvtl9fwn.loc-en-us.chk-webapp.res-ok.dur-0.v1.dc-telemetry.net
14:38:14.435 › [FAST CONNECT] wss://gateway.discord.gg/?encoding=etf&v=9&compress=zstd-stream, encoding: etf, version: 9
14:38:15.166 › [FAST CONNECT] sending identify
[2026-10-29 14:38:15.593] [info] Wayland session detected, attempting GlobalShortcuts portal
[2026-10-29 14:38:15.597] [info] Wayland GlobalShortcuts initialized; appId='discord-canary' version=1 session=/org/freedesktop/portal/desktop/session/1_64/discord_gs_4631_1
[2026-10-29 14:38:15.598] [info] Wayland idle manager initialized successfully
blackbox: 10/29/2026, 2:38:15 PM GMT+1 7 ✅ webContents.did-finish-load web2
14:38:15.730 › [libdiscore] [experiment_manager] Loaded experiments from cache
14:38:15.738 › [libdiscore] [BlockedDomainsStore] Deserialized 44484 hashes, revision 3223
splashScreen.pageReady
14:38:15.996 › Uncaught Error: "discord_utils" resolved outside the native module directories
blackbox: 10/29/2026, 2:38:16 PM GMT+1 8 window.close win1
blackbox: 10/29/2026, 2:38:16 PM GMT+1 9 webContents.destroyed web1
blackbox: 10/29/2026, 2:38:16 PM GMT+1 10 window.closed win1Additional context
No response
System metadata
~ ❯ nix-shell -p nix-info --run "nix-info -m"
- system:
"x86_64-linux" - host os:
Linux 7.3.0, NixOS, 26.11 (Zokor), 26.11.20261027.31ecbac - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.34.9 - nixpkgs:
/nix/store/sxb2ijsbdhi8s1lvc6ph692nm84vms3y-source
Notify maintainers
@Artturin @4evy @Infinidoge @jopejoe1 @Scrumplex @sophiebsw
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.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by Mr. Myxa, DADA30000, Yxchi, tessoir, Sirius902, Smeagol, João Teixeira, c4621Hermit and Blezz-tech
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is broken
Activity
discord: fix native module directory validation
discord: fix native module directory validation