containers/helpers/nix-json-trans: allow nix arguments
It is now possible to pass arguments to the json transformation function. This means e.g. passing build paths from outside works without having to go through shell variables (and all the ills that brings). Every transformation function takes one extra argument, an attrset specifying all nix inputs (and possible default values).
Showing with 38 additions and 16 deletions