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
99b1586c
Commit
99b1586c
authored
Jan 04, 2015
by
tibbe
Browse files
bootstrap.sh: add old-time and old-locale as deps
parent
a5caae2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/bootstrap.sh
View file @
99b1586c
...
...
@@ -206,6 +206,10 @@ RANDOM_VER="1.1" RANDOM_VER_REGEXP="1\.[01]\.?"
# >= 1 && < 1.2
STM_VER
=
"2.4.4"
;
STM_VER_REGEXP
=
"2
\.
"
# == 2.*
OLD_TIME_VER
=
"1.1.0.3"
;
OLD_TIME_VER_REGEXP
=
"1
\.
[01]
\.
?"
# >=1.0.0.0 && <1.2
OLD_LOCALE_VER
=
"1.0.0.7"
;
OLD_LOCALE_VER_REGEXP
=
"1
\.
0
\.
?"
# >=1.0.0.0 && <1.1
HACKAGE_URL
=
"https://hackage.haskell.org/package"
...
...
@@ -369,6 +373,8 @@ info_pkg "mtl" ${MTL_VER} ${MTL_VER_REGEXP}
info_pkg
"text"
${
TEXT_VER
}
${
TEXT_VER_REGEXP
}
info_pkg
"parsec"
${
PARSEC_VER
}
${
PARSEC_VER_REGEXP
}
info_pkg
"network"
${
NETWORK_VER
}
${
NETWORK_VER_REGEXP
}
info_pkg
"old-locale"
${
OLD_LOCALE_VER
}
${
OLD_LOCALE_VER_REGEXP
}
info_pkg
"old-time"
${
OLD_TIME_VER
}
${
OLD_TIME_VER_REGEXP
}
info_pkg
"HTTP"
${
HTTP_VER
}
${
HTTP_VER_REGEXP
}
info_pkg
"zlib"
${
ZLIB_VER
}
${
ZLIB_VER_REGEXP
}
info_pkg
"random"
${
RANDOM_VER
}
${
RANDOM_VER_REGEXP
}
...
...
@@ -387,6 +393,8 @@ do_pkg "network" ${NETWORK_VER} ${NETWORK_VER_REGEXP}
# We conditionally install network-uri, depending on the network version.
do_network_uri_pkg
do_pkg
"old-locale"
${
OLD_LOCALE_VER
}
${
OLD_LOCALE_VER_REGEXP
}
do_pkg
"old-time"
${
OLD_TIME_VER
}
${
OLD_TIME_VER_REGEXP
}
do_pkg
"HTTP"
${
HTTP_VER
}
${
HTTP_VER_REGEXP
}
do_pkg
"zlib"
${
ZLIB_VER
}
${
ZLIB_VER_REGEXP
}
do_pkg
"random"
${
RANDOM_VER
}
${
RANDOM_VER_REGEXP
}
...
...
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