Commit 186a4423 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Set the user install flag when restoring saved config

parent 8f3a6a58
......@@ -90,6 +90,7 @@ savedConfigToConfigFlags packageDB config = mempty {
Cabal.configHcFlavor = configCompiler config,
Cabal.configHcPath = configCompilerPath config,
Cabal.configHcPkg = configHcPkgPath config,
Cabal.configUserInstall = toFlag userInstall,
Cabal.configInstallDirs = if userInstall
then configUserInstallDirs config
else configGlobalInstallDirs config,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment