!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

695 Members
Rust157 Servers

Load older messages


SenderMessageTime
14 May 2025
@vcunat:matrix.orgvcunatI don't think I really touched the file, at a quick glance in the git log.05:12:12
@vcunat:matrix.orgvcunat* I don't think I've really touched the file, at a quick glance in the git log.05:12:18
@vcunat:matrix.orgvcunatIt shows just a merge of staging-next to master.05:12:32
@cleverca22:matrix.orgcleverca22 the git blame only shows you editing the line dealing with .pg_config output on postgres itself 05:12:42
@cleverca22:matrix.orgcleverca22ah, maybe git blame is also blaming merge commits, rather then the commit your merging05:13:02
@cleverca22:matrix.orgcleverca22 aha, doCheck=false; fixes it 05:36:11
@cleverca22:matrix.orgcleverca22 i think the problem is that normal install goes to $out, but tests dont 05:36:22
@hello2u:catgirl.cloudJosie (she/her) joined the room.06:08:27
@curid:matrix.org@curid:matrix.org What's the easiest use new manifests in an old version of rust-overlay? 17:16:25
@curid:matrix.org@curid:matrix.org
  • Bump minimal supported stable nixpkgs to 23.05

https://github.com/oxalica/rust-overlay/commit/0bf05d8534406776a0fbc9ed8d4ef5bd925b056a

my nixpkgs version is older than that

17:17:09
@kraem:ne.bul.aekraem changed their profile picture.17:16:42
@aloisw:julia0815.de@aloisw:julia0815.deBumping your nixpkgs version is not a solution I guess?17:17:52
@curid:matrix.org@curid:matrix.orgUsing old version for old glibc17:18:41
@aloisw:julia0815.de@aloisw:julia0815.deWhy do you need old glibc?17:19:21
@curid:matrix.org@curid:matrix.orgTo produce portable binaries17:20:50
@aloisw:julia0815.de@aloisw:julia0815.de The binaries are any more or less portable when you do that, since they still rely on the glibc being in the /nix/store. If you want to build portable binaries using Nix the best choice is probably static builds with musl. 17:21:52
@curid:matrix.org@curid:matrix.org hehe patchelf --set-interpreter "/lib64/ld-linux-x86-64.so.2" "$file" 17:22:40
@curid:matrix.org@curid:matrix.orgI admit that it's rather cursed, but it has worked so far17:23:41
@qyliss:fairydust.spaceAlyssa RossIs pkgsStatic not an option?17:23:52
@curid:matrix.org@curid:matrix.orgbinary uses runtime linking17:24:27
@curid:matrix.org@curid:matrix.org* app needs runtime linking17:25:05
@curid:matrix.org@curid:matrix.orgI guess I'll vendor rust-overlay if nobody has a better idea17:28:35
@k900:0upti.meK900I feel like it might be a better idea to build a custom stdenv17:29:28
@k900:0upti.meK900With an older glibc and recent everything else 17:29:49
@curid:matrix.org@curid:matrix.orgWould I need to mess with the fragile cross compilation?17:32:10
@qyliss:fairydust.spaceAlyssa RossDon't see why it couldn't be native17:32:24
@curid:matrix.org@curid:matrix.orgI'm abusing nix to make aarch64 binaries too17:33:45
@curid:matrix.org@curid:matrix.org* I'm abusing nix to cross compile aarch64 binaries too17:34:52
@curid:matrix.org@curid:matrix.orgIs there a guide for custom stdenv? I've tried to find a way to patch urandom in glibc before without much luck17:37:32
@tomasajt:matrix.orgToma could someone review https://github.com/NixOS/nixpkgs/pull/373541? I know I've sent it in several times, but I'd like to get this merged, preferably before branch-off23:43:12

Show newer messages


Back to Room ListRoom Version: 6