Sorry, I missed that comment.  But why not `(setq carton-source-mapping (cons (localhost . "http://127.0.0.1:9191/packages/") carton-source-mapping))`?  You can define a step to do it and reset carton-source-mapping always in `Before`.