Created attachment 1189415 [details] a patch containing a fix, adding --include-root=/path/to/include support It's impossible to install python-nss if not using the default include paths (in both 1.0beta and 0.16/0.17):( I ran into this using buildroot to build a custom image with nss. I wanted to be able to specify the path of the include roots as either an env variable, or as a cli arg. Buildroot's gcc will throw if anything it compiles attempts to access a library outside of its root. In order to add python-nss, I had to add buildroot by hand to the include_roots argument to find_include_dir. With this patch, I can install python-nss on a buildroot image entirely automatically by passing --include-root=/my/buildroot/usr/include.
Thank you for the patch Evan. I'm applying it now. You will get credit in the commit message. Not sure when a new release will be pushed but when it is your patch will show up.
awesome, good to hear.