Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
45e894c1
Commit
45e894c1
authored
Oct 07, 2007
by
bjorn@bringert.net
Browse files
Added cachedir field to config file.
parent
ac968b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/src/Network/Hackage/CabalInstall/Config.hs
View file @
45e894c1
...
...
@@ -221,6 +221,9 @@ configWriteFieldDescrs =
,
listField
"repos"
(
text
.
showRepo
)
parseRepo
configRepos
(
\
rs
cfg
->
cfg
{
configRepos
=
rs
})
,
simpleField
"cachedir"
(
text
.
show
)
(
readS_to_P
reads
)
configCacheDir
(
\
d
cfg
->
cfg
{
configCacheDir
=
d
})
,
boolField
"user-install"
configUserInstall
(
\
u
cfg
->
cfg
{
configUserInstall
=
u
})
,
simpleField
"prefix"
(
text
.
show
)
(
readS_to_P
reads
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment