[Pkg-haskell-commits] darcs: haskell-hgettext: Pass --config-file=/dev/null to cabal

Joachim Breitner mail at joachim-breitner.de
Mon Jan 5 15:18:42 UTC 2015


Mon Jan  5 15:16:43 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Pass --config-file=/dev/null to cabal

    M ./tests/cabal-install-compatibility -4 +6

Mon Jan  5 15:16:43 UTC 2015  Joachim Breitner <mail at joachim-breitner.de>
  * Pass --config-file=/dev/null to cabal
diff -rN -u old-haskell-hgettext/tests/cabal-install-compatibility new-haskell-hgettext/tests/cabal-install-compatibility
--- old-haskell-hgettext/tests/cabal-install-compatibility	2015-01-05 15:18:42.404514753 +0000
+++ new-haskell-hgettext/tests/cabal-install-compatibility	2015-01-05 15:18:42.412514752 +0000
@@ -10,14 +10,16 @@
 cd example
 touch LICENSE.txt # Cabal expects this
 
+CABAL="cabal --config-file=/dev/null"
+
 # These tests are needed to make sure the cabal libraries used to compile
 # cabal-install and hgettext are compatible.
 # Test whether we can configure this
-cabal configure
+$CABAL configure
 # Test whether we can build this
-cabal build
+$CABAL build
 # Test whether we can compile to repl
-/bin/echo -e 'putStrLn "works"\n:quit' | cabal repl
+/bin/echo -e 'putStrLn "works"\n:quit' | $CABAL repl
 # Test whether we can install
 mkdir $ADTTMP/test-install
-cabal install --prefix $ADTTMP/test-install
+$CABAL install --prefix $ADTTMP/test-install




More information about the Pkg-haskell-commits mailing list