!VRULIdgoKmKPzJZzjj:nixos.org

Nix Hackers

874 Members
For people hacking on the Nix package manager itself187 Servers

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


SenderMessageTime
15 Aug 2025
@fzakaria:one.ems.hostfzakariai can take it up after; right now having the store be temporary directory for just fetching inputs feels okay -- but I want it.15:35:40
@fzakaria:one.ems.hostfzakariais there a way to use Nix as a C++ lib in a separate project?15:35:49
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)
In reply to @fzakaria:one.ems.host
is there a way to use Nix as a C++ lib in a separate project?
Pretty easy to do so. Just needs pkg-config integration in your build system. I assume you are going to use bazel?
15:44:21
@fzakaria:one.ems.hostfzakariaNo; i'm happy to use Meson, Cmake or w/e. (Bazel would be cool though) Having a nix derivation that builds it even cooler.15:48:42
@fzakaria:one.ems.hostfzakaria(I'm not familiar with pkg-config) One more question: How does one run a particular flake check only. I'm trying to validate a check that is failing15:49:12
@fzakaria:one.ems.hostfzakaria
nix build -f flake.nix checks.x86_64-linux.nix-fetchers-tests-run
error: attribute 'checks' in selection path 'checks.x86_64-linux.nix-fetchers-tests-run' not found
15:50:35

Show newer messages


Back to Room ListRoom Version: 6