!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

948 Members
For people hacking on the Nix package manager itself201 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Feb 2025
@emilazy:matrix.orgemily FYI, the 2.26 update breaks buildInputs = [ nixVersions.nix_2_26 ]; 23:03:20
@emilazy:matrix.orgemily it has .dev and .libs (should be .lib?) attributes in passthru, but those are not proper outputs 23:03:41
@emilazy:matrix.orgemily uh, and .dev is just … empty 23:04:21
@emilazy:matrix.orgemily ok I guess you have to use .dev.dev. anyway this is very weird and breaking. 23:05:16
@elvishjerricco:matrix.orgElvishJerricco 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:matrix.orgElvishJerricco you have to depend on the specific libs you need via the libs passthru I think 23:27:53
@roberthensing:matrix.orgroberthworking on it23:28:09
@elvishjerricco:matrix.orgElvishJerricco 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:matrix.orgElvishJerriccoI'm open to it; but I'm interested in the use case23:30:17
@roberthensing:matrix.orgroberthI'll refer to here https://github.com/NixOS/nix/issues/12472#issuecomment-266297314023:31:10
@roberthensing:matrix.orgroberthanother small benefit I forgot is that this way we don't have to install the C API libraries23:32:24

Show newer messages


Back to Room ListRoom Version: 6