Skip to content

Fix nix linkage issues#275

Merged
x86pup merged 3 commits into
matrix-construct:june-msrvfrom
VlaDexa:june-msrv
Jan 30, 2026
Merged

Fix nix linkage issues#275
x86pup merged 3 commits into
matrix-construct:june-msrvfrom
VlaDexa:june-msrv

Conversation

@VlaDexa
Copy link
Copy Markdown
Contributor

@VlaDexa VlaDexa commented Jan 30, 2026

For some reason, after MSRV bump all the runpath stuff stopped writing itself to the binary. This adds mechanisms to put them back.

Would love for someone to fix that wihtout autoPatchelf for cleaner code.

@x86pup x86pup force-pushed the june-msrv branch 2 times, most recently from 32fa2f8 to 3901204 Compare January 30, 2026 03:39
@x86pup x86pup merged commit 823b745 into matrix-construct:june-msrv Jan 30, 2026
80 of 81 checks passed
@scvalex
Copy link
Copy Markdown
Contributor

scvalex commented Feb 4, 2026

What does this PR fix?

Context: We're doing the 1.4.9.1->1.5.0 version bump in nixpkgs and I'm trying to figure out if we need these changes as well. The server seems to work fine without them and I can't figure out what "runpath" refers to here.

@VlaDexa
Copy link
Copy Markdown
Contributor Author

VlaDexa commented Feb 4, 2026

This is related to the MSRV bump

After switching versions the binary stopped linking itself to libs, so I had to link it by hand.

You probably don't need to port this in any way because nixpkgs already been building with new rust versions

@scvalex
Copy link
Copy Markdown
Contributor

scvalex commented Feb 4, 2026

Got it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants