!OqhvaDMJdKYUicLDiE:nixos.org

Nixpkgs Stdenv

158 Members
50 Servers

Load older messages


SenderMessageTime
20 Mar 2025
@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
@Ericson2314:matrix.orgJohn Ericsonso yes it's manual toil, but debug cycle matters21:39:26
@grimmauld:grimmauld.deGrimmauld (any/all) this whole mess started when i used my unused dependency scanner on mass-rebuild packages. I truly believe there is some potential there to reduce closure size. But i am now seeing iconv is not the first candidate there 21:46:27
@grimmauld:grimmauld.deGrimmauld (any/all)i did find our git has a dependency on cpio that has been unnecessary for the past 9 years, for example - git release notes confirm that. However, lesson learned, i will leave iconv alone for now21:47:21
@Ericson2314:matrix.orgJohn Ericson Grimmauld (any/all): of course per the above you can see there isn't concensus, but I would still like to know whether it is possible to build glibc without libiconv 21:53:10
@Ericson2314:matrix.orgJohn Ericsoneven if stdenv contained libiconv21:53:23
@Ericson2314:matrix.orgJohn Ericsonit would be nice to build the more minimal thing and then bundle it21:53:34
@grimmauld:grimmauld.deGrimmauld (any/all)oh i am seeing there is no consensus, i am happy you were willing to entertain my dumb unqualified ideas. I am excited to see what comes of your attempt, if you do try - but i think this is beyond me (for now).21:55:33
@emilazy:matrix.orgemily glibc's iconv APIs are not the same as GNU libiconv FYI 22:20:54
@emilazy:matrix.orgemily I don't think modifying libc build systems would be a good idea. I think generating stubs of API subsets would be more reasonable. 22:21:28
@emilazy:matrix.orgemily (since if we are doing "rearchitect all of Nixpkgs" type solutions then we need dynamic library stubs to get any real advantage out of ca-derivations anyway.) 22:21:37
@reckenrode:matrix.orgRandy EckenrodeIn theory, this is a bug in Apple’s libiconv. According to comments in the source, the rewrite is intended to be compatible with GNU stuff. It’s just not in places. Good luck with submitting feedbacks though ….23:59:41
21 Mar 2025
@reckenrode:matrix.orgRandy EckenrodeGit being a notable example. It depends on a special UTF-8 codec on Darwin to handle Unicode normalization.00:01:39
@reckenrode:matrix.orgRandy EckenrodeI would like to fix the libiconv bugs on Darwin eventually (and try to submit at least my tests to Apple in a feedback in the hope they may also fix things in the platform), but I have no bandwidth for that right now.00:02:37
@reckenrode:matrix.orgRandy Eckenrode Also, strictly speaking, Darwin doesn’t even really have a libc package anymore. The libc implementation comes dynamically from which SDK you’re using. The libc package is a stub with empty lib and include directories to prevent spurious warnings from breaking things. 00:03:39
22 Mar 2025
@cldrpr:matrix.orgcldrpr joined the room.11:46:20

There are no newer messages yet.


Back to Room ListRoom Version: 9