Commit Graph

8 Commits

Author SHA1 Message Date
K900
deed04ab81 Revert "tests.defaultPkgConfigPackages: Add recurseIntoAttrs"
This reverts commit f192e96d07.
2023-01-30 21:02:30 +03:00
Robert Hensing
b6bec17eb9 testers.hasPkgConfigModule: Extract and add tests, docs 2023-01-30 00:35:34 +01:00
Robert Hensing
f192e96d07 tests.defaultPkgConfigPackages: Add recurseIntoAttrs 2023-01-30 00:35:34 +01:00
Robert Hensing
974d331e14 pkg-config-data.json: Remove m and pthread
These aren't actually pkg-config packages, but packages that
happen to be in cabal2nix's mapping for cabal reasons. They do not
belong in this file.
2023-01-29 09:51:55 +01:00
Robert Hensing
3be7ea8c89 top-level/pkg-config: Make tests easy to find 2023-01-29 09:51:55 +01:00
Robert Hensing
811bf8ade0 pkg-config-data.json: Add version 2023-01-29 09:51:55 +01:00
Robert Hensing
09eb09b9c5 pkg-config-data.json: Encode platform support 2023-01-29 09:51:55 +01:00
Robert Hensing
81a541e6b6 defaultPkgConfigPackages: Make it JSON
With a bit of help from:

```
nix-repl> :b (formats.json {}).generate "hi" { modules = lib.mapAttrs (k: v: { attrPath = v; }) (p (paths [] pkgs // { stdenv = { isDarwin = false; isLinux = false; };})); }
```
2023-01-29 09:51:55 +01:00