summaryrefslogtreecommitdiffstats
path: root/modules/hackage.py
diff options
context:
space:
mode:
authorYaakov M. Nemoy <loupgaroublond@gmail.com>2009-01-18 21:12:09 -0500
committerYaakov M. Nemoy <loupgaroublond@gmail.com>2009-01-18 21:12:09 -0500
commit104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f (patch)
tree9606a60155e93229b50a9011bf5d0dae7e848c9a /modules/hackage.py
parent8bbbcbd2cdad36e27c127c888897395cefcff3d0 (diff)
downloadfedora-devshell-104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f.tar.gz
fedora-devshell-104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f.tar.xz
fedora-devshell-104b3c4262fa3cb6b24ed0e1cd5402b14f4eab8f.zip
Fixes up HaskellPort to work with the new refactoring.
Also adds some close code for ports Also mistakenly stuck some code in HaskellPort that really belongs to the build system
Diffstat (limited to 'modules/hackage.py')
-rw-r--r--modules/hackage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/hackage.py b/modules/hackage.py
index b08299c..5b704ee 100644
--- a/modules/hackage.py
+++ b/modules/hackage.py
@@ -39,3 +39,5 @@ class Hackage(Fetcher):
return 'http://hackage.haskell.org/packages/archive/' + \
pkg + '/' + ver + '/' + pkg + '-' + ver + '.tar.gz'
+ def darcs_url(self, pkg):
+ return 'http://darcs.haskell.org/' + pkg