Nixpkgs Stdenv | 222 Members | |
| 72 Servers |
| Sender | Message | Time |
|---|---|---|
| 17 Aug 2022 | ||
| * AFAIK it isn't easy to do better. gcc links against glibc. So either somehow try replacing gcc's glibc later (rather hacky, probably) or build gcc twice during bootstrapping (will remain persistently annoying). Or as you suggest, update the bootstrapping tools more often. | 17:50:20 | |
| [The other day I found nod. Your description matches my understanding. Today we build | 17:58:53 | |
| This maybe: https://github.com/NixOS/nixpkgs/pull/132343 | 17:58:54 | |
AFAIU splitting libraries out does not fully solve the reliance on code generated directly by bootstrapTools toolchain. glibc would still have to be rebuilt once again. But the split might ease adding extra lightweight stages to rebuild some parts of stdenv. I dread of the thought maintaining such patches downstream though :) | 18:06:57 | |
| 20:21:08 | ||
| 20 Aug 2022 | ||
| 17:25:29 | ||
| 21 Aug 2022 | ||
| 09:25:58 | ||
| 24 Aug 2022 | ||
| John Ericson: can I have your opinion on this diff (staging-next -> staging)
| 22:16:01 | |
| moved into #staging:nixos.org 🙂 | 22:17:11 | |
| 23:00:14 | ||
| 26 Aug 2022 | ||
| 13:45:35 | ||
currently playing around with a mkDerivation' :: (Attrs -> Attrs) -> Attrs -> Drv. could be useful to solve eg the rust overrideAttrs problem (where rust would use mkDerivation' to do rust-specific processing to the args before passing them on, and regular mkDerivation would just pass id). is this something? is there something other than stdenv adapters that could turn into a problem? | 13:48:02 | |
this hinges on overlayable mkDerivation, so the signature should really be mkDerivation' :: (Attrs -> Attrs) -> (Either Attrs (Attrs -> Attrs)) -> Drv i guess 🤔 | 13:50:42 | |
In reply to @pennae:matrix.eno.spaceI have rust overriding working in https://github.com/NixOS/nixpkgs/pull/179392 | 16:04:34 | |
| okay, let's use that :) | 16:23:22 | |
| 30 Aug 2022 | ||
| 14:41:45 | ||
| 15:54:41 | ||
| 7 Sep 2022 | ||
| what part of stdenv actually adds libraries to ldflags? i see where binaries are added to path and rpath is set, but not libraries... am i missing something obvious here? | 07:23:29 | |
bintoolsWrapper_addLDVars I think. | 07:30:19 | |
| ahhh, i was thinking it would be in a different setup hook like that, no clue why grepping around wasn't helping there | 07:43:12 | |
| thanks, i think you're right | 07:43:20 | |
| 10 Sep 2022 | ||
| 06:11:17 | ||
| 14 Sep 2022 | ||
| 14:10:50 | ||
| 15 Sep 2022 | ||
| 12:48:24 | ||
| 12:48:25 | ||
| 18 Sep 2022 | ||
| 17:20:58 | ||
| 23 Sep 2022 | ||
| 11:41:34 | |
| does anyone know how it's possible for a command to "fail", run the failure hook, but then... keep going? | 11:41:53 | |
| (i can't repro this on any machine other than the OfBorg builders so that's also fun) | 11:42:09 | |
| (to be clear, the command that supposedly exited is... still going after the hook...) | 12:54:59 | |