darwin.adv_cmds: fix build with clang 16#243540
Conversation
|
Is it possible to create a derivation that picks out msgcat.h and use it in buildInputs? It's more machinery but I like it as it's more explicit (although I am not sure how the file gets into the |
A derivation local to darwin.adv_cmds?
The file doesn’t need to be there. It’s just that it can be found when putting it there, so that was an easy solution. |
Yeah, a tiny one hidden away that plucks out (by linking or copying) just the file that we want. |
darwin.Libc conflicts with libc++ 16. adv_cmds only needs `msgcat.h`, so provide only that in `buildInputs` instead of all of Libc.
f47b69a to
732e446
Compare
I pushed an updated commit taking that approach. |
Description of changes
darwin.Libc conflicts with libc++ 16. adv_cmds only needs
msgcat.h, so symlink it into the build from Libc instead of adding the whole thing tobuildInputs.Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)