Using the numpy C API

Hello everyone

I’m trying to build an application that makes use of the numpy C API.

Right now I’m using a nix-shell requiring nixpkgs.python3Packages.numpy as dependency (using -p), but it appears that this makes numpy available only to the python interpreter and not to gcc.

How can I solve this? I looked into the numpy configuration in nixpkgs and I haven’t seen any obvious flags to export the C API.

Thanks in advance