!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

464 Members
Rust111 Servers

Load older messages


SenderMessageTime
23 Aug 2024
@aktaboot:tchncs.deaktabootthanks I guess rust-overlay fits what I am looking for :)17:59:20
@damccull:matrix.orgdamccullIf I cargo build on a nixos system, I'm getting an exe with the wrong interpreter for a regular system...I think...how do I tell nix build to build it for a regular system so I can copy over to one of those?22:04:13
24 Aug 2024
@k900:0upti.meK900You can't really03:35:48
@k900:0upti.meK900And it's not guaranteed to work properly anyway because of glibc symbol versioning nonsense03:36:04
@k900:0upti.meK900If you want a portable binary, build it fully static with musl03:36:19
@cafkafk:gitter.imcafkafk changed their profile picture.07:02:12
@ralith:ralith.comRalithdoes musl have dlopen these days?19:49:52
@k900:0upti.meK900It does but why 19:50:35
@ralith:ralith.comRalithI guess more importantly, what happens when you dlopen something that links the host libc?19:52:00
@k900:0upti.meK900Kaboom19:53:03
@ralith:ralith.comRalithaw :(19:53:09
@k900:0upti.meK900As expected 19:53:10
@qyliss:fairydust.spaceAlyssa RossIt doesn't work19:53:10
@ralith:ralith.comRalithstill no graphics in static binaries then19:53:18
@emilazy:matrix.orgemily cough libcapsule 19:53:54
@ralith:ralith.comRalithspicy19:58:09
@ralith:ralith.comRalith(the libcapsule README is a pretty good in-depth answer to "but why", if anyone is still confused)19:58:53
@emilazy:matrix.orgemily I genuinely think we should use libcapsule to obsolete nixGL. 20:17:42
@emilazy:matrix.orgemilyand maybe even also to fix the whole running graphical programs from an old NixOS thing.20:17:56
@emilazy:matrix.orgemilyI just sort of bring it up periodically to try and nerd-snipe someone who isn't me into trying it.20:18:30
@k900:0upti.meK900libcapsule is hard for arbitrary things20:24:15
@emilazy:matrix.orgemilyI did see that it apparently claims it doesn't handle separate libcs?20:38:18
@emilazy:matrix.orgemilywhich is pretty sad.20:38:21
@emilazy:matrix.orgemily(…couldn't we just load the host GPU drivers in a separate process and carry the glvnd ABI across IPC?)20:39:27
@emilazy:matrix.orgemily(I guess it'd require a good amount of bookkeeping to share the right bits of memory)20:39:44
@ralith:ralith.comRalithfeasible in principle23:40:33
@ralith:ralith.comRalitha custom vulkan loader, too23:41:23
@emilazy:matrix.orgemilyhow hard can it be23:43:48
@ralith:ralith.comRalithmostly just tedious, I think23:52:03
@ralith:ralith.comRaliththat's why you'd have to pay me :P23:52:09

Show newer messages


Back to Room ListRoom Version: 6