lkit couldn't find mozjs and wouldn't build on core-updates. Maybe due to the addition of mozjs-24, which I believe happened after the last release.
I specified the dependency on mozjs-17. It seems that polkit does not support mozjs-24: http://lists.freedesktop.org/archives/polkit-devel/2015-July/000432.html I also cribbed the configure-flags from mozjs-17's ".pc" file. I don't know why pkg-config didn't work. It's weird that all the paths in mozjs are like this: mozjs-..pc libmozjs-..so js-. Feel free to push Leo Famulari (1): gnu: polkit: Fix detection of mozjs-17. gnu/packages/polkit.scm | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) -- 2.7.0.rc3