!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

698 Members
Rust159 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
7 Nov 2025
@awwpotato:envs.net@awwpotato:envs.net changed their display name from awwpotato (she/her) to -> @da157:catgirl.cloud.18:30:19
@awwpotato:envs.net@awwpotato:envs.net left the room.18:41:58
@emma:rory.gay@emma:rory.gay left the room.22:41:10
9 Nov 2025
@9hp71n:matrix.orgghpzin changed their display name from ghpzin to ghpzin (moved to @ghpzin:envs.net).15:03:52
@draed:matrix.orgdrae joined the room.15:23:51
11 Nov 2025
@robert:scs.ems.host@robert:scs.ems.host changed their display name from Robert Rose - 🏝️ bis 10.11.25 to Robert Rose.09:22:30
@oak:universumi.fioak 🏳️‍🌈♥️ changed their profile picture.19:20:27
@n8henrie:matrix.orgn8henrie

Hi all -- relative novice, hoping someone can help me run a rust binary built outside of nix in a nixosTest (as part of a bisect to fix a problem upstream). I've been using runCommand to copy it into the test image with autoPatchelfHook providing the dependencies and dontStrip = true, but still getting symbol lookup error: /nix/store/...espanso/bin/espanso: undefined symbol: _ZN12wxWindowBase14RegisterHotKeyEiii at runtime (even though wxGTK32 is in the buildInputs).

Including all the buildInputs for an xorg-based linux system from https://github.com/espanso/espanso/blob/dev/nix/espanso.nix

Anyone know why copying a binary that runs fine outside nix into a NixOS VM would give me this wx-related missing symbol error when all the required libraries seem to be linked (at least I don't see anything obviously missing based on ldd)?

20:41:54
@ghpzin:envs.net@ghpzin:envs.net Do you need to do something special during runtime to trigger it ? 21:29:43
@n8henrie:matrix.orgn8henrie To trigger the error? No, even a --version triggers it. 21:37:40
@ghpzin:envs.net@ghpzin:envs.net Can't reproduce, seems to work on both my machine and nixosTest.
Unless you use headless test for some reason.
21:41:10
@n8henrie:matrix.orgn8henrieNo, not headless. You are building espanso from source on a non-nixos system with standard Rust tooling, copying the binary while patching with autoPatchelfHook, and then running it in nix, and it's working?21:42:48

Show newer messages


Back to Room ListRoom Version: 6