!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

904 Members
For people hacking on the Nix package manager itself190 Servers

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


SenderMessageTime
15 Aug 2025
@fzakaria:one.ems.hostfzakaria it assumes it was installed on the system ?
So Nix installed via the system will install the shared libraries and headers or is there a -dev version needed.
15:56:09
@fzakaria:one.ems.hostfzakaria (If i were to use Nix as a buildInput) 15:56:21
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Corresponding components install the .pc files to dev output15:56:50
@fzakaria:one.ems.hostfzakaria cool okay I see the pc files in nix.dev store and they point to the nix lib directory 16:01:51
@fzakaria:one.ems.hostfzakaria(Not sure how someone gets these files without using nix itself but maybe that's by design :P )16:02:29
@fzakaria:one.ems.hostfzakaria Interesting, locally
nix build .#checks.x86_64-linux.nix-fetchers-tests-run passes but on CI it fails.
> The program must call nix::initNix() before calling any libstore library functions.
16:03:56
@fzakaria:one.ems.hostfzakariaimage.png
Download image.png
16:08:44
@fzakaria:one.ems.hostfzakariaAlso, CLion to debug live Nix has been amazing; unfortunately the GoogleTest integration doesn't work -- doesn't seem to hydrate the "Target" 16:08:45
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Yeah that's pretty unfortunate, but the order of tests matters. It means that locally there's a test that has initialized libstore already16:30:20
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Can't help here, since I don't have jetbrains stuff16:30:53
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) You'd need to use the new nixComponents packaging. It makes it so you can use the libs without bringing the cli with them 16:32:00
@fzakaria:one.ems.hostfzakariaty for the answers!20:34:03
@fzakaria:one.ems.hostfzakariai recommend the jetbrains stuff; having the gdb integrated debugger has made investigating issues 100x easier20:34:19

Show newer messages


Back to Room ListRoom Version: 6