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