| 15 Aug 2025 |
fzakaria | (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 failing | 15:49:12 |
fzakaria | 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 | nix build .#checks.x86_64-linux.nix-fetchers-tests-run | 15:51:50 |
fzakaria | ty | 15:51:56 |
dramforever | quote that if you shell doesn't like it | 15:52:08 |
Sergei 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.html | 15:54:20 |
Sergei 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 |
Sergei Zimmerman (xokdvium) | Or (nix-build) | 15:55:30 |
Sergei Zimmerman (xokdvium) | * Or nix-build | 15:55:36 |
fzakaria | 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 | (If i were to use Nix as a buildInput) | 15:56:21 |