Nixpkgs Stdenv | 229 Members | |
| 74 Servers |
| Sender | Message | Time |
|---|---|---|
| 27 Nov 2024 | ||
In reply to @philiptaron:matrix.orgGood list! Would like to we the GCC repackaging on that list too :) | 06:35:57 | |
| what repackaging? | 06:36:33 | |
In reply to @Ericson2314:matrix.orgIt's a DAG from build step standpoint. But from installation directory standpoint gcc's own bootstrap allows installing libstdc++ and gcc multiple times to make sure both are using one another. nix does not allow for in place file updates and one has to resort to file copies from one store path into another and requires binary patching to achieve the same effect (which is fragile for self-references and effectively requires CA compatibility as a precondition). | 06:56:31 | |
Luckily gcc is CA-compatible, but glibc is not. As a result I have to use hacks like https://bpa.st/raw/5QWA just to make glibc work in CA (and in cases when I have to rewrite references to relocate glibc) :) | 07:02:13 | |
__FILE__ has been a persistent painful cause of "trivial" self-references / unwanted references for me lately | 07:08:30 | |
| not even with CA derivations | 07:08:33 | |
| At least macro expansion should be worked around by https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/gcc/patches/13/mangle-NIX_STORE-in-__FILE__.patch | 10:50:46 | |
| emily: I was working on a branch with Philip Taron (UTC-8) that builds GCC in parts like we do with LLVM | 15:03:08 | |
| we are both pressed for time, but I very much want to see it done, as it cuts down on rebuilds and makes cross sane | 15:03:26 | |
| 18:17:59 | ||
| I see | 19:10:12 | |
fwiw we probably need to un-split some LLVM stuff since some of it is pretty broken. e.g. Clang having separate lib output breaks unwrapped compilers | 19:10:38 | |
| 28 Nov 2024 | ||
| 18:48:46 | ||
| 18:50:23 | ||
| 1 Dec 2024 | ||
| 00:08:07 | ||
| 10 Dec 2024 | ||
| https://crab.fit/nixpkgs-stdenv-team-meeting-699727 made a crab fit thing to find the availability of everyone so we can work on our updates to give to the SC. | 05:33:42 | |
| Minor quality of life improvements:
| 09:12:53 | |
| 11 Dec 2024 | ||
| 14:19:13 | ||
| 12 Dec 2024 | ||
I'm trying to work out how to get a libcxxStdenv where my C++ dependencies are also built with libc++. I was thinking something along the lines of https://gist.github.com/DavidTruby/d0364e1637074a983a167fcecedd5847 but I couldn't get this to compile (fails to compile gettext)Am I even thinking along the right lines here? | 17:46:50 | |
In reply to @truby:matrix.orgYes. The problem is that gettext doesn’t support the newer llvm compiler. You could introduce an overlay to set llvmPackages = self.llvmPackages_17 (or whatever version is needed to build gettext) | 18:10:30 | |
| I thought the latest gettext fixed that? or has that not made it into nixpkgs yet? | 18:12:00 | |
| I thought I fixed it months ago | 18:26:10 | |
| yep https://github.com/NixOS/nixpkgs/pull/348676 | 18:26:37 | |
| I did see a patch to upgrade to gettext 0.22 which should have fixed it, but my graph still pulls in 0.21 | 18:27:29 | |
| Now it's fixed without the patch https://github.com/NixOS/nixpkgs/pull/358254 patch removed in https://github.com/NixOS/nixpkgs/pull/360044 | 18:28:50 | |
| 0.22.5 | 18:28:55 | |
| Make sure you're on the right nixpkgs | 18:29:14 | |
I did a nix flake update right before trying the build | 18:29:27 | |
| What's your nixpkgs git rev? | 18:29:47 | |
| I'll have to get back to you on that, I'm not on my nixos machine rn 😅 | 18:30:06 | |