Thanks to @Thomas M. DuBuisson, this did the trick:
~/dev/yesod_app$ cabal-dev add-source ~/dev/the_dependency_folder
Where the_dependency_folder contains the .cabal file of the fixed local package to include with the main Yesod web app's cabal-dev install.