Hey,
I’m trying to build a package which uses node-gyp & pkg-config, but I’m running into an issue. The error:
npm error Package libprocps was not found in the pkg-config search path.
npm error Perhaps you should add the directory containing `libprocps.pc'
npm error to the PKG_CONFIG_PATH environment variable
npm error No package 'libprocps' found
npm error gyp: Call to 'pkg-config --cflags libprocps' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
npm error ✖ Rebuild Failed
However, I have included procps
in my nativeBuildInputs.
I tried debugging, and found that when doing:
$ nix-shell -p pkg-config procps
$ pkg-config --list-all
libproc2 libproc2 - Library to control and query process state
So, libprocps is not installed by pkgs.procps, but libproc2 is.
Can I reference this one somehow? Or is this not the solution?