Skip to content

Commit 47465a5

Browse files
authored
Merge pull request #3973 from commercialhaskell/silence-warnings-register
Silence warnings from ghc-pkg register
2 parents d23169b + 5af69e5 commit 47465a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Stack/Build/Execute.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1317,11 +1317,12 @@ singleBuild ac@ActionContext {..} ee@ExecuteEnv {..} task@Task {..} installedMap
13171317
])
13181318
(const (return ()))
13191319

1320-
readProcessNull ghcPkgExe
1320+
void $ proc ghcPkgExe
13211321
[ "register"
13221322
, "--force"
13231323
, libpath
13241324
]
1325+
readProcess_
13251326
liftIO $ forM_ exes $ \exe -> do
13261327
D.createDirectoryIfMissing True bindir
13271328
let dst = bindir FP.</> FP.takeFileName exe

0 commit comments

Comments
 (0)