!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

218 Members
69 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
20 Mar 2025
@emilazy:matrix.orgemily it does seem like OpenBSD genuinely doesn't include it in libc (FreeBSD and NetBSD do), but IMO it seems fine to just have it in stdenv 20:57:09
@emilazy:matrix.orgemilyAndroid is weird anyway and I think only works with prebuilt tooling so I have no idea what the status of that is.20:57:29
@emilazy:matrix.orgemily MinGW kinda barely works half the time anyway but it seems fine to put it in stdenv. I'm pretty sure you need libiconv for bootstrap anyway because of GNU build tools wanting it. 20:58:04
@emilazy:matrix.orgemily (fwiw, while this is true and we include Apple's libiconv in stdenv, there are also packages that require the GNU one…) 20:59:15
@qyliss:fairydust.spaceAlyssa Ross I remember @Ericson2314:matrix.org wanted to go the exact opposite direction and explicitly specify dependencies on more things that might not be part of libc on all platforms. 21:05:59
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de)About freebsd: https://github.com/NixOS/nixpkgs/commit/2b6b8e29c7696deaf8aefb7c666325354a9e2399 libiconv on freebsd seems to be cursed21:06:13
@qyliss:fairydust.spaceAlyssa RossAnd I broadly vibe with that approach tbh. Explicit is better than implicit.21:06:16
@emilazy:matrix.orgemily(okay let's settle on this room)21:06:19
@emilazy:matrix.orgemilyI agree with that in general, but I think that not providing some sort of common base basically just harms rare platforms in practice21:06:41
@emilazy:matrix.orgemily like, if we could mask parts of libc on every platform so you have to specify libiconv, then maybe? 21:06:57
@emilazy:matrix.orgemilybut what actually happens is that people write packages for the couple of platforms they have access to and then it breaks on other ones21:07:15
@grimmauld:grimmauld.deGrimmauld (moving to @grimmauld:grapevine.grimmauld.de) (i wasn't quite certain, this is very low in dep tree, but not stdenv on all platforms) 21:07:33
@emilazy:matrix.orgemily shrinking stdenv is a noble goal in general, but we have tons of build tooling in there already. I think that bundling libraries for things that are in libc on the vast majority of supported platforms makes sense 21:07:45
@emilazy:matrix.orgemily in particular there might be a platform with a super tiny libcore and then they have libfs and libmath and so on 21:08:07
@emilazy:matrix.orgemilythat would be elegant and in an ideal world we'd specify those explicitly21:08:13

Show newer messages


Back to Room ListRoom Version: 9