/library/a.jq:
def a: "a";
$ fq -L /library -n 'include "a"; a'
"a"
$ fq -L /wrong -n 'include "a"; a'
exitcode: 3
stderr:
error: arg:1:0: open a.jq: file does not exist