diff --git a/src/Foundation/Authorization.hs b/src/Foundation/Authorization.hs index b1ead3481..887242249 100644 --- a/src/Foundation/Authorization.hs +++ b/src/Foundation/Authorization.hs @@ -1,5 +1,5 @@ {-# LANGUAGE UndecidableInstances #-} -{-# OPTIONS_GHC -fno-warn-redundant-constraints -fprof-auto-top #-} +{-# OPTIONS_GHC -fno-warn-redundant-constraints #-} module Foundation.Authorization ( evalAccess, evalAccessFor, evalAccessWith diff --git a/src/Foundation/SiteLayout.hs b/src/Foundation/SiteLayout.hs index 770e08f42..8a6d86e2f 100644 --- a/src/Foundation/SiteLayout.hs +++ b/src/Foundation/SiteLayout.hs @@ -1,5 +1,4 @@ {-# LANGUAGE UndecidableInstances #-} -- for `MemcachedKeyFavourites` -{-# OPTIONS_GHC -fprof-auto-top #-} module Foundation.SiteLayout ( siteLayout', siteLayout diff --git a/src/Foundation/Yesod/Middleware.hs b/src/Foundation/Yesod/Middleware.hs index c57f7b31c..c8967cfaa 100644 --- a/src/Foundation/Yesod/Middleware.hs +++ b/src/Foundation/Yesod/Middleware.hs @@ -1,4 +1,4 @@ -{-# OPTIONS_GHC -O0 -fasm -fprof-auto-top #-} +{-# OPTIONS_GHC -O0 -fasm #-} module Foundation.Yesod.Middleware ( yesodMiddleware diff --git a/src/Jobs.hs b/src/Jobs.hs index 62a32f998..97c1e7a61 100644 --- a/src/Jobs.hs +++ b/src/Jobs.hs @@ -1,5 +1,3 @@ -{-# OPTIONS_GHC -fprof-auto-top #-} - module Jobs ( module Types , module Jobs.Queue diff --git a/stack.nix b/stack.nix index 0885ab569..53fb60f6b 100644 --- a/stack.nix +++ b/stack.nix @@ -9,7 +9,7 @@ in pkgs.haskell.lib.buildStackProject { inherit (haskellPackages) stack; name = "stackenv"; buildInputs = (with pkgs; - [ postgresql zlib libsodium gmp + [ postgresql zlib libsodium gmp llvm_9 ]) ++ (with haskellPackages; [ yesod-bin happy alex ]);