Closed
Description
I tend to keep my user binaries in ~/bin instead of ~/.local/bin. The directory path seems to be set in.
src/Stack/Config.hs
186: localDir <- liftIO (getAppUserDataDirectory "local") >>= parseAbsDir
getAppUserDataDirectory is defined in System.Directory
. Is it should return $HOME/.local always, so it doesn't appear to be able to take a flag or anything. The install function takes both BuildOpts
and GlobalOpts
parameters, so perhaps such a parameter could live in one of there as a Maybe and be passed as a --path option from the command line.
Line 346 in 118cb3e