John Ericson

Results 635 comments of John Ericson

Thanks for the quick response, and willingness to "bootstrap" off just one distro's metadata!

~~@AMDmi3 what file is that? I do not know how Repology gets info from Nixpkgs today.~~

Ah, I found it it. https://github.com/NixOS/nixpkgs/blob/master/pkgs/top-level/make-tarball.nix#L64-L71

OK since https://github.com/NixOS/nixpkgs/pull/214304 we have ```shell-session $ nix-env -qaP -f . -A zlib --json --meta | jq { "zlib": { "name": "zlib-1.2.13", ... "meta": { ... "pkgConfigModules": [ "zlib" ],...

https://github.com/NixOS/nixpkgs/pull/215056 Put up a PR marking a few more. Also made an Nixpkgs announcement in https://discourse.nixos.org/t/adding-pkg-config-metadata-to-nixpkgs-packages/25281 .

Hehe you move quick :) Yeah `nixpkgs-unstable.json` is regenerated only periodically, so it might not be in there yet.

I am investigating

Actually I do see it ```bash cat /nix/store/1c50winfp4gri15d4zh3fv9f4jx64g02-nixpkgs-tarball-23.05pre452319.747927516ef/packages.json.br \ | brotli -d \ | jq '.packages.zlib.meta.pkgConfigModules' ``` ```json [ "zlib" ] ``` from https://hydra.nixos.org/build/208234249#tabs-summary in the most recent eval.

https://channels.nixos.org/nixos-unstable-small is quick enough to have it ``` curl https://releases.nixos.org/nixos/unstable-small/nixos-23.05pre452282.b6eac37960e/packages.json.br \ | brotli -d \ | jq '.packages.zlib.meta.pkgConfigModules' ```

OK https://channels.nixos.org/nixpkgs-unstable has updated, and now has at least the `zlib` `pkgConfigModules` metadata!