[DHG_packages] 02/03: iso8601-time: Set $HOME so cabal can write its config

James McCoy jamessan at debian.org
Sun May 1 02:24:46 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 aeed77f6c35d3956cd6478f6a6641ab0f2eda1fa
Author: James McCoy <jamessan at jamessan.com>
Date:   Sat Apr 30 16:59:12 2016 -0400

    iso8601-time: Set $HOME so cabal can write its config
---
 p/haskell-iso8601-time/debian/clean | 1 +
 p/haskell-iso8601-time/debian/rules | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/p/haskell-iso8601-time/debian/clean b/p/haskell-iso8601-time/debian/clean
new file mode 100644
index 0000000..c26b4bf
--- /dev/null
+++ b/p/haskell-iso8601-time/debian/clean
@@ -0,0 +1 @@
+debian/cabalconfig/
diff --git a/p/haskell-iso8601-time/debian/rules b/p/haskell-iso8601-time/debian/rules
index 7a72ab6..ea7f278 100755
--- a/p/haskell-iso8601-time/debian/rules
+++ b/p/haskell-iso8601-time/debian/rules
@@ -7,3 +7,8 @@ DEB_ENABLE_TESTS = yes
 
 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