It should be possible to tell the build system of a directory in which it should cache node_modules. This directory should both be used to install to, and run from. This is necessary for packaging of frida-python on nixos.