anchor.diff:          "$cnfOrig" > ./texmf.cnf
   
         patchCnfLua "./texmfcnf.lua"
  +
  +      mkdir $out/share/texmf-local
   
         rm updmap.cfg
       )
  
positive.code:       rm ./texmf.cnf
        sed \
          -e 's,texmf-dist,texmf,g' \
          -e 's,texmf-local,texmf,g' \
          -e "s,\$SELFAUTOLOC,$out,g" \
          -e "s,\$SELFAUTODIR,$out/share,g" \
          -e "s,\$SELFAUTOPARENT,$out/share,g" \
  
negative.code:         rm ./texmfcnf.lua
          sed \
            -e 's,texmf-dist,texmf,g' \
            -e "s,\(TEXMFLOCAL[ ]*=[ ]*\)[^\,]*,\1\"$out/share/texmf-local\",g" \
            -e "s,\$SELFAUTOLOC,$out,g" \
            -e "s,selfautodir:/,$out/share/,g" \
            -e "s,selfautodir:,$out/share/,g" \
  