!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

670 Members
Rust150 Servers

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


SenderMessageTime
11 Nov 2025
@ghpzin:envs.net@ghpzin:envs.net
nix build github:ghpzin/nixpkgs/12e2905327c7efac6df82d587f0ef29f68a0cc43#nixosTests.espanso
xdg-open ./result/started.png
I do not think binary in their release .deb should be that different from build result from other distro.
21:57:20
@ghpzin:envs.net@ghpzin:envs.netActually if binary built on other distro is the one with problems, maybe it is just a mismatch of wxGTK32 versions.22:09:52
@n8henrie:matrix.orgn8henrieHopefully not, I renovated the build system prior to the 2.3 release using a pretty standard ubuntu build process. Building now.22:10:00
@n8henrie:matrix.orgn8henrieThat could totally be it.22:10:12
@n8henrie:matrix.orgn8henrie

I bet you're right. Yup the deb version is working fine.

But now I'm not sure how to get a matching wxGTK32 version on Arch, but I can look into that.

It certainly would be much easier to just bisect by setting src = /path/to/espanso-src, but then cargoHash fails. I set it to look at Cargo.lock instead, but then there's a (or maybe more than one) git dependency that trips things up.

Are you aware of any way that I can override src in the package definition without the cargoHash stuff being wrong on every iteration of a bisect?

22:14:27
@n8henrie:matrix.orgn8henrieLooks like wxgtk 3.2.8.1 on nix, 3.2.8.1-2 on arch.22:15:52
@n8henrie:matrix.orgn8henrieOh, maybe I can just build on a nix shell on arch and get the matching wxgtk...22:16:28
@ghpzin:envs.net@ghpzin:envs.net Iirc there is a way to not fill output git hashes importing Cargo.lock with allowBuiltinFetchGit = true; 22:19:29
@ghpzin:envs.net@ghpzin:envs.net Iirc a way to not fill output git hashes while importing Cargo.lock is setting allowBuiltinFetchGit = true; 22:19:55
@n8henrie:matrix.orgn8henrieBuilding in a nix shell with the matching version of wxGTK worked! Thanks a ton! I'll experiment with the built-in fetchgit as well, thank you for the suggestion.22:24:34
@n8henrie:matrix.orgn8henrie Just to close the loop, allowBuiltinFetchGit works a treat and is probably an even better approach. Thank you! 22:33:31
@n8henrie:matrix.orgn8henrie This way I can make sure the package builds or exit 125 for the bisect. If the package builds, run the nixosTest and get a result. Fingers crossed. 22:34:37

Show newer messages


Back to Room ListRoom Version: 6