Pass --no-user-package-conf to ghc-pkg in bindisttest
authorRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 25 Nov 2009 11:59:53 +0000 (11:59 +0000)
committerRoman Leshchinskiy <rl@cse.unsw.edu.au>
Wed, 25 Nov 2009 11:59:53 +0000 (11:59 +0000)
bindisttest/Makefile

index 0ac9226..7332bab 100644 (file)
@@ -44,7 +44,8 @@ endif
        $(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
        ./HelloWorld > output
        $(CONTEXT_DIFF) output expected_output
        $(BIN_DIST_INST_DIR)/bin/ghc --make HelloWorld
        ./HelloWorld > output
        $(CONTEXT_DIFF) output expected_output
-       $(BIN_DIST_INST_DIR)/bin/ghc-pkg check
+# Without --no-user-package-conf we might pick up random packages from ~/.ghc
+       $(BIN_DIST_INST_DIR)/bin/ghc-pkg check --no-user-package-conf
 
 clean distclean:
        $(RM) -rf $(BIN_DIST_INST_SUBDIR)
 
 clean distclean:
        $(RM) -rf $(BIN_DIST_INST_SUBDIR)