anchor.diff:                    contents runAsRoot diskSize extraCommands;
           };
         result = runCommand "docker-image-${baseName}.tar.gz" {
  -        buildInputs = [ jshon pigz coreutils findutils ];
  +        buildInputs = [ jshon pigz coreutils findutils jq ];
           # Image name and tag must be lowercase
           imageName = lib.toLower name;
           imageTag = lib.toLower tag;
  
positive.code:   findutils,
    go,
    jshon,
    lib,
    pkgs,
    pigz,
  
negative.code:         # Use the temp folder we've been working on to create a new image.
          mv temp image/$layerID
  
          # Create image configuration file (used by registry v2) by using
          # the configuration of the last layer
          SHA_ARRAY=$(find ./ -name layer.tar | xargs sha256sum | cut -d" " -f1 | xargs -I{} echo -n '"sha256:{}" ' | sed 's/" "/","/g' | awk '{ print "["$1"]" }')
          jq ". + {\"rootfs\": {\"diff_ids\": $SHA_ARRAY, \"type\": \"layers\"}}" image/$layerID/json > config.json
          CONFIG_SHA=$(sha256sum config.json | cut -d ' ' -f1)
          mv config.json image/$CONFIG_SHA.json
  
          # Create image manifest
          LAYER_PATHS=$(find image/ -name layer.tar -printf '"%P" ' | sed 's/" "/","/g')
          jq -n "[{\"Config\":\"$CONFIG_SHA.json\",\"RepoTags\":[\"$imageName:$imageTag\"],\"Layers\":[$LAYER_PATHS]}]" > image/manifest.json
  
          # Store the json under the name image/repositories.
          jshon -n object \
            -n object -s "$layerID" -i "$imageTag" \
  