!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

953 Members
For people hacking on the Nix package manager itself202 Servers

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


SenderMessageTime
24 Feb 2025
@Ericson2314:matrix.orgJohn EricsonI don't think so?18:23:10
@Ericson2314:matrix.orgJohn Ericsonthanks for pointing out18:23:16
@emilazy:matrix.orgemily

another question:

# boost is a public dependency, but not a pkg-config dependency unfortunately, so we
# put in `deps_other`.

why? Boost has .pc files (in Nixpkgs at least), and this breaks e.g. Rust pkg_config parsing the dependencies out of the .pc files

18:32:40
@emilazy:matrix.orgemily *

another question:

# boost is a public dependency, but not a pkg-config dependency unfortunately, so we
# put in `deps_other`.

why? Boost has .pc files (in Nixpkgs at least), and this breaks e.g. Rust pkg_config parsing the dependencies out of the Nix .pc files

18:32:44
@emilazy:matrix.orgemily (fwiw, nixVersions.latest is also not 2.26, although I had been assuming that was intentional while the packaging bakes) 18:34:59
@Ericson2314:matrix.orgJohn Ericson @emilazy:matrix.org: oh awesome! 18:35:35
@Ericson2314:matrix.orgJohn EricsonMaybe the PC file was new?18:35:50
@emilazy:matrix.orgemilyNixpkgs bumped its Boost a couple times recently, so that may have been a factor18:36:05
@emilazy:matrix.orgemily (in particular, it breaks it for pkgsStatic, because the resulting .pc file has e.g. Libs: -L${libdir} -lnixstore -pthread /nix/store/2hbky50x3hzky0drn4ay87xj77frq27c-boost-static-x86_64-unknown-linux-musl-1.81.0/lib/libboost_container.a and the pkg_config crate just discards the absolute path, seemingly) 18:36:34
@emilazy:matrix.orgemily (that's probably a ~bug-ish on the Rust end, but I think parsing useful semantic information out of .pc files is really hard in general, so it would work better if it's -lboost_container with a Requires/Requires.private) 18:37:00

Show newer messages


Back to Room ListRoom Version: 6