From b77ba03ed9715187e58dec682a32ac22722fbbcc Mon Sep 17 00:00:00 2001 From: MuhammedZakir <8190126+MuhammedZakir@users.noreply.github.com> Date: Tue, 17 Aug 2021 23:02:27 +0530 Subject: [PATCH] Add `--stack-yaml` flag to `stack build --silent` Fixes: https://github.com/xmonad/xmonad/issues/322 --- src/XMonad/Core.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XMonad/Core.hs b/src/XMonad/Core.hs index 11bd353..b5ba932 100644 --- a/src/XMonad/Core.hs +++ b/src/XMonad/Core.hs @@ -659,7 +659,7 @@ compile dirs method = CompileGhc -> run "ghc" ghcArgs CompileStackGhc stackYaml -> - run "stack" ["build", "--silent"] .&&. + run "stack" ["build", "--silent", "--stack-yaml", stackYaml] .&&. run "stack" ("ghc" : "--stack-yaml" : stackYaml : "--" : ghcArgs) CompileScript script -> run script [binFileName dirs]