[DHG_packages] 01/03: http-link-header: Coerce another package to work with cabal

James McCoy jamessan at debian.org
Tue May 3 02:50:14 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamessan pushed a commit to branch master
in repository DHG_packages.

commit a49b5b89a34f5f8f024992a737df09997ea6c11f
Author: James McCoy <jamessan at jamessan.com>
Date:   Mon May 2 21:24:27 2016 -0400

    http-link-header: Coerce another package to work with cabal
---
 p/haskell-http-link-header/debian/clean   | 1 +
 p/haskell-http-link-header/debian/control | 1 +
 p/haskell-http-link-header/debian/rules   | 5 +++++
 3 files changed, 7 insertions(+)

diff --git a/p/haskell-http-link-header/debian/clean b/p/haskell-http-link-header/debian/clean
new file mode 100644
index 0000000..c26b4bf
--- /dev/null
+++ b/p/haskell-http-link-header/debian/clean
@@ -0,0 +1 @@
+debian/cabalconfig/
diff --git a/p/haskell-http-link-header/debian/control b/p/haskell-http-link-header/debian/control
index 4467225..03af6c9 100644
--- a/p/haskell-http-link-header/debian/control
+++ b/p/haskell-http-link-header/debian/control
@@ -6,6 +6,7 @@ Section: haskell
 Build-Depends: debhelper (>= 9),
  haskell-devscripts (>= 0.9),
  cdbs,
+ cabal-install,
  ghc,
  ghc-prof,
  libghc-attoparsec-dev,
diff --git a/p/haskell-http-link-header/debian/rules b/p/haskell-http-link-header/debian/rules
index 2f27ae5..9b7bcf2 100755
--- a/p/haskell-http-link-header/debian/rules
+++ b/p/haskell-http-link-header/debian/rules
@@ -6,3 +6,8 @@ DEB_DEFAULT_COMPILER = ghc
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/hlibrary.mk
+
+# cabal requires the global (i.e., before any subcommand) --config-file switch
+# to change where it writes its config.  That's not currently supported with
+# Dh_Haskell.sh, so just point it to a writable HOME for now.
+export HOME=$(CURDIR)/debian/cabalconfig

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list