!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

228 Members
73 Servers

Load older messages


SenderMessageTime
20 Mar 2025
@emilazy:matrix.orgemily we rewrote the entire stdenv 21:20:20
@emilazy:matrix.orgemily FWIW, Apple's libiconv is effectively part of the system library on macOS insofar as they only compilation environments they ship have direct access to it 21:20:24
@emilazy:matrix.orgemily there's never a case where you could be compiling software for macOS in any normal way and not have libiconv right there 21:20:37
@emilazy:matrix.orgemily you do need -liconv, and we explicitly don't inject that 21:20:51
@emilazy:matrix.orgemilybuild systems have to get that right, which they mosly do21:20:56
@emilazy:matrix.orgemily* build systems have to get that right, which they mostly do21:20:57
@Ericson2314:matrix.orgJohn Ericsonas we were discussing before with compiler-rt21:20:59
@Ericson2314:matrix.orgJohn Ericsonlibc is just a bad layer of abstraction21:21:07
@Ericson2314:matrix.orgJohn Ericsonand it's very viral21:21:10
@Ericson2314:matrix.orgJohn Ericsonit is frustrating21:21:27
@emilazy:matrix.orgemilyI think us establishing some baseline API that gets offered for C programs even if it has to be composed out of multiple packages is not really the worst thing in the world21:22:15
@emilazy:matrix.orgemilyeven if we had everything perfectly factored out into totally orthogonal pieces on every platform, I think people would be unhappy about writing 50 lines of boilerplate for libraries that are "always there" in every single package21:22:46
@emilazy:matrix.orgemilystuff like factoring out autotools assumptions is much higher-value IMO21:22:55
@Ericson2314:matrix.orgJohn Ericsonthere should be some baseline API21:23:25
@Ericson2314:matrix.orgJohn Ericsonbut "repeating the boilerplate is annoying" is rather a slipperly slope21:23:37
@Ericson2314:matrix.orgJohn Ericsonbecause adding more stuff always cuts more downstream dependenices21:23:49
@Ericson2314:matrix.orgJohn Ericsonno disagreement21:24:05
@Ericson2314:matrix.orgJohn Ericsonwhat I mean by mass rebuild is I guess is more just changing hte foundations21:24:30
@Ericson2314:matrix.orgJohn Ericsonand then fixing all the packages21:24:33
@Ericson2314:matrix.orgJohn Ericsonfew people want to do that21:24:37
@Ericson2314:matrix.orgJohn Ericsonwe need to get the resources somehow21:24:46
@Ericson2314:matrix.orgJohn Ericson there is nothing hard about getting out the autotools assumption 21:24:53
@Ericson2314:matrix.orgJohn Ericsonit is just a lot of annoying work21:24:57
@Ericson2314:matrix.orgJohn EricsonCA derivations are supposed to help with these things RIP21:25:07
@Ericson2314:matrix.orgJohn Ericson(that was my thought so many year ago)21:25:17
@Ericson2314:matrix.orgJohn Ericsonthey still could, to be clear, but just ugh21:25:30
@emilazy:matrix.orgemilyI don't think avoiding rebuilds is really a motivation there. we rebuild the entire package set every couple weeks21:25:48
@emilazy:matrix.orgemilyit's the manual toil21:25:53
@Ericson2314:matrix.orgJohn Ericson emily: the thing that got me before was making a slight tweak to a stdenv script and then rebuilding everything serially, the dream with CA derivations was you could, assuming most things will have the same result, try to rebuild everything in parallel / out of order, using their previous dependencies 21:38:12
@Ericson2314:matrix.orgJohn Ericsonlong bootstrapping chains meant lots of O(n) rebuilds when I'd notice a mistake in the things I did to stdenv in some downstream package21:39:02

Show newer messages


Back to Room ListRoom Version: 9