This commit is contained in:
Joey Hess 2013-05-09 16:09:43 -04:00
parent 420d73bd0d
commit f2118ab6be

View file

@ -45,22 +45,18 @@ patched () {
} }
unpatched () { unpatched () {
if [ "$native" ]; then cabalinstall "$@"
cabalinstall "$@"
else
cabalinstall "$@"
fi
} }
onlycross () { onlycross () {
if [ ! "$native" ]; then if [ ! "$native" ]; then
eval $@ eval "$@"
fi fi
} }
onlynative () { onlynative () {
if [ "$native" ]; then if [ "$native" ]; then
eval $@ eval "$@"
fi fi
} }
@ -153,7 +149,7 @@ install_pkgs () {
patched yesod-static 1.1.2 patched yesod-static 1.1.2
unpatched ifelse-0.85 unpatched ifelse-0.85
unpatched SafeSemaphore-0.9.0 unpatched SafeSemaphore-0.9.0
onlycross unpatched bloomfilter-1.2.6.10 --constraint 'bytestring >= 0.10.3.0' if [ ! "$native" ]; then cabal install bloomfilter-1.2.6.10 --constraint 'bytestring >= 0.10.3.0'; fi
onlynative unpatched bloomfilter-1.2.6.10 onlynative unpatched bloomfilter-1.2.6.10
unpatched edit-distance-0.2.1.2 unpatched edit-distance-0.2.1.2
unpatched uuid-1.2.12 unpatched uuid-1.2.12