!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

693 Members
Rust157 Servers

Load older messages


SenderMessageTime
9 Jan 2026
@k900:0upti.meK900 Oh, you probably need to also --add-needed it 15:56:13
@magnetophon:matrix.orgmagnetophon

I did:

  preFixup = lib.optionalString stdenv.hostPlatform.isLinux ''
    patchelf \
      --set-rpath --add-needed "${lib.makeLibraryPath buildInputs}:$out/lib" \
      $out/bin/radiance
  '';

And now I get:

radiance> Running phase: fixupPhase
radiance> patchelf: getting info about '/nix/store/5vwc8q3c7hn7s01qbpsicv4zjk3p2nci-mpv-0.41.0/lib:/nix/store/jzng5i2xwsdlf3h60a5s6qzr2808c9zc-vulkan-loader-1.4.335.0/lib:/nix/store/91mg839gbvgz1svzlh1jvz0pqvx7ylwh-libxkbcommon-1.11.0/lib:/nix/store/f0mf3rlv29ql40qx36kqd2jzabd1m0s0-alsa-lib-1.2.14/lib:/nix/store/7m6x6b4ljrkmkbhvbxdcacpraxj49xkj-wayland-1.24.0/lib:/nix/store/ii3ybky5dqjikcrw7vdnh1j76ssy0ycm-libx11-1.8.12/lib:/nix/store/bb5xxw11ndww7iivcmdpxga9n1da24vg-libxcursor-1.2.3/lib:/nix/store/x1f9a0qsj6a1y5nf178naagm2vbxnazc-libxi-1.8.2/lib:/nix/store/dyn0y5clf5b556yqwmj4841h43hz75p6-libxrandr-1.5.4/lib:/nix/store/0r6d7iw0q9wgxxj28zy87n1gjwvk0klp-libxinerama-1.1.5/lib:/nix/store/hlkf0rilmbwi8hvbvc9rswglmsc1mpq5-libxpresent-1.0.2/lib:/nix/store/2dac9gfiim278y2c6mxrklpzzfka7ra1-libxfixes-6.0.2/lib:/nix/store/zshby6nalhw4mvap0rr97hv042808c2k-libxext-1.3.6/lib:/nix/store/m0jzvlr5gl7zvdn0fr7c09mjwx65fx58-libxcb-1.17.0/lib:/nix/store/d3dgbv5q78fdcswpznc20ipnjdna4mcp-radiance-0.7.0/lib': No such file or directory
16:03:18
@k900:0upti.meK900Not like that16:03:33
@k900:0upti.meK900 You want --add-rpath <that stuff> --add-needed libxkbcommon-x11.so 16:03:48
@magnetophon:matrix.orgmagnetophonah, thanks16:04:09
@magnetophon:matrix.orgmagnetophonYES! It runs now! Thank you so much! Next step: minimize rpath. :) 16:14:49
@ralith:ralith.comRalithhas anyone worked out why rustc started stripping rpath by default some time in the last year or so?20:50:31
10 Jan 2026
@catbrained:tchncs.decatbrained (she/her) changed their display name from catbrained to catbrained (she/her).00:28:18
@eihqnh:mozilla.orgeihqnh joined the room.04:58:03
@eihqnh:mozilla.orgeihqnh set a profile picture.05:04:37
@spectabilis:4d2.orgspectabilis changed their profile picture.06:42:11
29 Oct 2021
@grahamc:nixos.org@grahamc:nixos.org set the history visibility to "world_readable".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room name to "" from "".19:57:43
@grahamc:nixos.org@grahamc:nixos.org changed the room topic to "" from "".19:57:43
@server_stats:nordgedanken.devServer Stats Discoverer (traveler bot) joined the room.19:58:21
@voyager:t2bot.ioMatrix Traveler (bot) joined the room.19:59:14
@ralith:ralith.comRalith joined the room.20:00:28
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.20:00:52
@grahamc:nixos.org@grahamc:nixos.org invited @mjolnir:nixos.orgNixOS Moderation Bot.20:01:04
@mjolnir:nixos.orgNixOS Moderation Bot joined the room.20:01:05
@grahamc:nixos.org@grahamc:nixos.orgchanged room power levels.20:01:08
Room Avatar Renderer.20:02:40
@hexa:lossy.networkhexa joined the room.20:04:36
@kity:kity.wtfproblems joined the room.20:06:27
@noah:matrix.chatsubo.cafeChurch joined the room.20:18:19
@figsoda:matrix.orgfigsoda joined the room.20:33:22
@withoutwithin:matrix.orgXe Iaso joined the room.20:59:23
@tomberek:matrix.orgtomberek joined the room.21:02:26
@noah:matrix.chatsubo.cafeChurch changed their display name from noah ⚡️ to Church.21:02:31
@0x4a6f:matrix.org[0x4A6F] joined the room.21:17:23

Show newer messages


Back to Room ListRoom Version: 6