elfutils: split debuginfod into its own output#235618
elfutils: split debuginfod into its own output#235618lheckemann merged 1 commit intoNixOS:stagingfrom
Conversation
b70039d to
d7ccc25
Compare
|
Bisect says d7ccc25 Is there practical difference in closure size? |
|
#223240 has a bit of discussion why it should be fine to uncoinditionally enable |
|
It makes a relatively big practical difference because it's the only thing making systemd depend on gcc. But yes, let's try to unbreak those 😅 |
Can you be a bit more specific here? Which These are not rare dependencies. |
By that you mean to revert this PR for now or something else? |
|
Trying this patch on gdb: |
Fwiw, this doesnt solve the problem, still getting Tried with autoreconfHook269. Maybe its because it is burried in there: I believe this is due to lacking of pkg-config .pc file. |
|
OK, so the problem I've spotted is basically override({ enableDebugInfod = true; }) generates the following .pc: The paths the file points to don't have the debuginfo libs or includes so gdb configure script fails. |
|
Proposed the revert against |
Description of changes
This avoids a dependency on gcc, reducing closure size significantly for dependents (including systemd, via libbpf).
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/)