[Pkg-haskell-commits] darcs: haskell-devscripts: Set HOME to some (non-existant) path in hlibrary.mk. Some buildds have this variable not set, causing builds to fail.
Joachim Breitner
mail at joachim-breitner.de
Sun Mar 27 19:05:30 UTC 2011
Sun Mar 27 19:01:02 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* Set HOME to some (non-existant) path in hlibrary.mk. Some buildds have this variable not set, causing builds to fail.
Ignore-this: 1aa936b1c62611b123461116beb447eb
M ./debian/changelog +7
M ./hlibrary.mk +5
Sun Mar 27 19:01:02 UTC 2011 Joachim Breitner <mail at joachim-breitner.de>
* Set HOME to some (non-existant) path in hlibrary.mk. Some buildds have this variable not set, causing builds to fail.
Ignore-this: 1aa936b1c62611b123461116beb447eb
diff -rN -u old-haskell-devscripts/debian/changelog new-haskell-devscripts/debian/changelog
--- old-haskell-devscripts/debian/changelog 2011-03-27 19:05:30.389557832 +0000
+++ new-haskell-devscripts/debian/changelog 2011-03-27 19:05:30.405558677 +0000
@@ -1,3 +1,10 @@
+haskell-devscripts (0.8.3) UNRELEASED; urgency=low
+
+ * Set HOME to some (non-existant) path in hlibrary.mk. Some buildds have
+ this variable not set, causing builds to fail.
+
+ -- Joachim Breitner <nomeata at debian.org> Mon, 28 Mar 2011 00:30:39 +0530
+
haskell-devscripts (0.8.2) unstable; urgency=low
* Upload to unstable
diff -rN -u old-haskell-devscripts/hlibrary.mk new-haskell-devscripts/hlibrary.mk
--- old-haskell-devscripts/hlibrary.mk 2011-03-27 19:05:30.389557832 +0000
+++ new-haskell-devscripts/hlibrary.mk 2011-03-27 19:05:30.393558043 +0000
@@ -19,6 +19,11 @@
export GREP_OPTIONS :=
+# Set a dummy HOME variable upon build. Some build daemons do not set HOME, but
+# cabal expects it to be available.
+export HOME = /homedoesnotexistatbuildtime
+
+
DEB_CABAL_PACKAGE ?= $(shell cat *.cabal |\
perl -ne \
'if (/^name\s*:\s*(.*?)\s*$$/i) {$$_ = $$1; tr/A-Z/a-z/; print; exit 0;}')
More information about the Pkg-haskell-commits
mailing list