!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(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
@dramforever:matrix.orgdramforever nix build .#checks.x86_64-linux.nix-fetchers-tests-run 15:51:50
@fzakaria:one.ems.hostfzakariaty15:51:56
@dramforever:matrix.orgdramforeverquote that if you shell doesn't like it15:52:08
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Both cmake and meson are pretty easy to set up. Recent enough cmake made this much easier with https://cmake.org/cmake/help/latest/module/FindPkgConfig.html15:54:20
@xokdvium:matrix.orgSergei Zimmerman (xokdvium) You can also do nix build -f . checks.x86_64-linux.nix-fetchers-tests-run, since we are using flake-compat 15:55:14
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)Or (nix-build)15:55:30
@xokdvium:matrix.orgSergei Zimmerman (xokdvium)* Or nix-build15:55:36
@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

Show newer messages


Back to Room ListRoom Version: 6