From f2d25416480a185fd12cd87b180d98a5b850a471 Mon Sep 17 00:00:00 2001 From: Ben Gamari <ben@smart-cactus.org> Date: Tue, 7 Sep 2021 13:39:25 -0400 Subject: [PATCH] Fix it --- shake/runner/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shake/runner/Main.hs b/shake/runner/Main.hs index 843519df..3b011ce3 100644 --- a/shake/runner/Main.hs +++ b/shake/runner/Main.hs @@ -246,7 +246,7 @@ buildRules nofib@Build{..} = do -- TODO: Invoking cabal in the way we do without any package argument fails. root <- liftIO $ IO.makeAbsolute buildDepsRoot unless (null deps) $ withResource pkgDbResource 1 $ - let project_file = if useHackageHead then "--project-file=nofib.head" else "" + let project_file = if useHackageHead then "--project-file=cabal.project.head-hackage" else "" in cmd_ "cabal" project_file ("--store-dir=" <> root) "v2-install" "--lib" "-w" compiler "--allow-newer" deps ("-j"<> show threads) liftIO $ writeFile out "" -- GitLab