summaryrefslogtreecommitdiffstats
path: root/modules/cabal.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/cabal.py')
-rw-r--r--modules/cabal.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/cabal.py b/modules/cabal.py
index 89b8aad..cc82db7 100644
--- a/modules/cabal.py
+++ b/modules/cabal.py
@@ -103,6 +103,11 @@ class Cabal(Module):
p = Popen(args, stdout=cabal_out, stderr=cabal_out)
log.info('Building %s, please wait...' % self.name)
p.wait()
+
+ def install_tag(self, tag):
+ with pwd(self.package.dir):
+ with self.package.tag(tag):
+ self.install()
def install_source(self, target='home', orig=''):
self.configure(target, orig)