| 19 Feb 2025 |
emily | FYI, the 2.26 update breaks buildInputs = [ nixVersions.nix_2_26 ]; | 23:03:20 |
emily | it has .dev and .libs (should be .lib?) attributes in passthru, but those are not proper outputs | 23:03:41 |
emily | uh, and .dev is just … empty | 23:04:21 |
emily | ok I guess you have to use .dev.dev. anyway this is very weird and breaking. | 23:05:16 |
ElvishJerricco | emily: yes, 2.26 is now componentized and the nix_2_26 build is basically just a symlink farm of all the components | 23:27:18 |
ElvishJerricco | you have to depend on the specific libs you need via the libs passthru I think | 23:27:53 |
roberth | working on it | 23:28:09 |
ElvishJerricco | Robert Hensing (roberth): Does nixpkgs actually benefit from this style of packaging for Nix? I can see the utility while iterating on Nix, but I'm not sure componentized builds are actually benefiting any users or applications in nixpkgs, and it breaks a lot of norms | 23:29:22 |
ElvishJerricco | I'm open to it; but I'm interested in the use case | 23:30:17 |
roberth | I'll refer to here https://github.com/NixOS/nix/issues/12472#issuecomment-2662973140 | 23:31:10 |
roberth | another small benefit I forgot is that this way we don't have to install the C API libraries | 23:32:24 |