For the record, adding the following worked:
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
If this is supposed to be configured automatically, then something in nixos-unstable is broken.
For the record, adding the following worked:
PKG_CONFIG_PATH = "${pkgs.openssl.dev}/lib/pkgconfig";
If this is supposed to be configured automatically, then something in nixos-unstable is broken.