Skip to content

[Bug]: Panic in NixOS #133

@GNUqb114514

Description

@GNUqb114514

Bug summary

Neomacs panics when running in NixOS using nix build . with following messages:

2026-06-13T22:16:26.531902Z ERROR neovm_core::emacs_core::load: failed to load final image /nix/store/1pr27wlw5wras6jg8l1bdn9hgjj92v23-neomacs-009188c/bin/neomacs-044D80D824489C2A2317F33596ECD0AF5A6F6376A374B5D7BFA9CF5AE8E2E23A.pdump: I/O error: No such file or directory (os error 2)
2026-06-13T22:16:26.546270Z  INFO neomacs_display_runtime::render_thread::lifecycle: Display scale factor: raw=1.25 effective=1.25
2026-06-13T22:16:26.546336Z  INFO neomacs_display_runtime::render_thread::lifecycle: Render thread: window created (physical 780x810)
2026-06-13T22:16:26.546353Z  INFO neomacs_display_runtime::render_thread::bootstrap: Initializing wgpu for render thread
2026-06-13T22:16:26.546385Z  INFO neomacs_display_runtime::render_thread::bootstrap: wgpu requested backends: Backends(NOOP | VULKAN | GL | METAL | DX12 | BROWSER_WEBGPU)

thread 'neomacs-evaluator' (11012) panicked at neomacs-bin/src/main.rs:1993:13:
final image should load: failed to load final image /nix/store/1pr27wlw5wras6jg8l1bdn9hgjj92v23-neomacs-009188c/bin/neomacs-044D80D824489C2A2317F33596ECD0AF5A6F6376A374B5D7BFA9CF5AE8E2E23A.pdump: I/O error: No such file or directory (os error 2)
stack backtrace:
   0: __rustc::rust_begin_unwind
   1: core::panicking::panic_fmt
   2: neomacs::create_startup_evaluator_for_mode
   3: neomacs::spawn_gui_evaluator_worker::{{closure}}::{{closure}}
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

Steps to reproduce

  1. Clone the repository locally
  2. Run nix build . and then ./result/bin/neomacs

Expected behavior

No response

Runtime diagnostics

Extra context

neomacs-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions