!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

197 Members
64 Servers

Load older messages


SenderMessageTime
5 Jun 2025
@Ericson2314:matrix.orgJohn Ericsonglad this old tech debt is finally gone20:47:12
@Ericson2314:matrix.orgJohn Ericsononce we get rid of the old gcc20:47:18
@Ericson2314:matrix.orgJohn EricsonI think we can finish the job of having nothing with "cross" in its name20:47:34
@rosscomputerguy:matrix.orgTristan RossYeah, there's a few things I think that could be done in that PR lol.20:47:39
@Ericson2314:matrix.orgJohn EricsoncrossLibcStdenv -> libcStdenv20:47:39
@rosscomputerguy:matrix.orgTristan RossYeah, ideally you should be able to refer to toplevel attributes for the different components20:47:59
@rosscomputerguy:matrix.orgTristan RossThe idea is then you can utilize whatever you need without going through the CC wrapper.20:48:15
@rosscomputerguy:matrix.orgTristan Ross Like for example, if something wants to link to the libc without knowing the CC then it just does pkgs.libc 20:48:45
@Ericson2314:matrix.orgJohn Ericsonyeah20:49:34
@Ericson2314:matrix.orgJohn Ericsonharder for tools as we discussed before20:49:56
@Ericson2314:matrix.orgJohn Ericsonbut for libs there is no problem20:50:05
@Ericson2314:matrix.orgJohn Ericsonwe should just do it!20:50:09
6 Jun 2025
@creepinson:matrix.org@creepinson:matrix.org left the room.00:18:43
@reckenrode:matrix.orgRandy Eckenrode pkgs.libc does nothing on Darwin. The libc is in the SDK. It needs to be to allow the libc to be overridden. The only way I can see breaking it out is to completely remove the link from cc-wrapper to libc and rely exclusively on libc being a package in the inputs (and I still expect some things to do the wrong thing). 13:56:14
@reckenrode:matrix.orgRandy Eckenrode * pkgs.libc does nothing on Darwin. The libc is in the SDK. It needs to be there to allow the libc to be overridden. The only way I can see breaking it out is to completely remove the link from cc-wrapper to libc and rely exclusively on libc being a package in the inputs (and I still expect some things to do the wrong thing). 13:56:22
@reckenrode:matrix.orgRandy Eckenrode * pkgs.libc does nothing on Darwin. The libc is in the SDK. It needs to be there to allow the SDK to be overridden. The only way I can see breaking it out is to completely remove the link from cc-wrapper to libc and rely exclusively on libc being a package in the inputs (and I still expect some things to do the wrong thing). 13:56:26
@reckenrode:matrix.orgRandy Eckenrode If you need to refer to libc, the correct paths are /usr/include and /usr/lib. Darwin tooling uses a sysroot for the SDK because that’s how native tooling works (and several languages expect tooling to work like native tooling). 13:57:51
@reckenrode:matrix.orgRandy Eckenrode (Considering that you can’t meaningfully change the libc on Darwin, it probably doesn’t matter what pkgs.libc is because anything other than the default one is wrong.) 13:58:52
@reckenrode:matrix.orgRandy Eckenrode * (Considering that you can’t meaningfully change the libc on Darwin, it probably doesn’t matter what pkgs.libc is because anything other than libSystem is wrong.) 14:01:18
7 Jun 2025
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) left the room.22:12:41
@deeok:matrix.orgmatrixrooms.info mod bot (does NOT read/send messages and/or invites; used for checking reported rooms) joined the room.22:38:33
15 Jun 2025
@t4ccer:matrix.orgt4ccer left the room.19:07:10
16 Jun 2025
@p14:matrix.orgp14 I'm guessing noBrokenSymlinks broke pkgsStatic.pkgsLLVM.llvmPackages.libunwind:
ERROR: noBrokenSymlinks: the symlink /nix/store/l44d59cxpyc7cw4kg99xr0ni375g1ikd-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libgcc_s.so points to a missing target: /nix/s…
:(
(cc Tristan Ross )
18:26:16
@rosscomputerguy:matrix.orgTristan Ross
In reply to @p14:matrix.org
I'm guessing noBrokenSymlinks broke pkgsStatic.pkgsLLVM.llvmPackages.libunwind:
ERROR: noBrokenSymlinks: the symlink /nix/store/l44d59cxpyc7cw4kg99xr0ni375g1ikd-libunwind-static-x86_64-unknown-linux-musl-19.1.7/lib/libgcc_s.so points to a missing target: /nix/s…
:(
(cc Tristan Ross )
Huh, yeah we need to use the extension thing in the derivation
18:27:22
@p14:matrix.orgp14The extension thing?18:27:40
@p14:matrix.orgp14I'm also wondering how a reference libgcc_s is ending up in the libunwind output? I guess the intent is to pretend to be libgcc_s?18:28:10
@rosscomputerguy:matrix.orgTristan Ross
In reply to @p14:matrix.org
The extension thing?
In platform
18:29:55
@p14:matrix.orgp14you lost me18:30:10
@rosscomputerguy:matrix.orgTristan Ross There's a thing there that says what extension to use for libraries 18:30:23
@rosscomputerguy:matrix.orgTristan Ross I can't look it up easily because I'm on mobile atm 18:30:38

Show newer messages


Back to Room ListRoom Version: 9