[Nix-dev] libxul.pc references nspr.pc but nspr.pc does not exist

Corey O'Connor coreyoconnor at gmail.com
Wed Feb 29 00:23:09 CET 2012


Hi,

The libxul.pc pkgconfig file declares nspr as a dependency. However
nspr does not install a pkgconfig file. Getting libxul properties via
pkgconfig fails:

$ pkg-config --cflags libxul
Package nspr was not found in the pkg-config search path.
Perhaps you should add the directory containing `nspr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nspr', required by 'libxul', not found

I can patch the nspr derivation to build a package config file.
However I don't know how to instruct the system to notice and link to
the config file properly.

-Corey O'Connor
coreyoconnor at gmail.com
http://corebotllc.com/


More information about the nix-dev mailing list