summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hadrian/src/Rules/Test.hs2
-rw-r--r--hadrian/src/Settings/Default.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/hadrian/src/Rules/Test.hs b/hadrian/src/Rules/Test.hs
index abe78b79ab..f1fb204c88 100644
--- a/hadrian/src/Rules/Test.hs
+++ b/hadrian/src/Rules/Test.hs
@@ -120,7 +120,7 @@ testRules = do
writeFile' path $ unlines ["#!/bin/sh",unwords ((abs_prog_path : flags) ++ ["${1+\"$@\"}"])]
makeExecutable path
else if prog == "ghc-pkg" then do
- let flags = ["-no-global-package-db", "--no-user-package-db", "--global-package-db", pkgDb]
+ let flags = ["--no-user-package-db", "--global-package-db", pkgDb]
writeFile' path $ unlines ["#!/bin/sh",unwords ((abs_prog_path : flags) ++ ["${1+\"$@\"}"])]
makeExecutable path
else createFileLink abs_prog_path path
diff --git a/hadrian/src/Settings/Default.hs b/hadrian/src/Settings/Default.hs
index c6f23b55a7..8e8729544b 100644
--- a/hadrian/src/Settings/Default.hs
+++ b/hadrian/src/Settings/Default.hs
@@ -100,12 +100,12 @@ stage0Packages = do
, text
, transformers
, unlit
+ , hp2ps
, if winTarget then win32 else unix
]
++ [ terminfo | not windowsHost, not cross ]
++ [ timeout | windowsHost ]
++ [ touchy | windowsHost ]
- ++ [ hp2ps | cross ]
-- | Packages built in 'Stage1' by default. You can change this in "UserSettings".
stage1Packages :: Action [Package]