diff --git a/cabal.project b/cabal.project index 8d3541dc..6aa08e16 100644 --- a/cabal.project +++ b/cabal.project @@ -9,6 +9,10 @@ constraints: , suckless-conf >= 0.1.2.7 , http-client >=0.7.16 && <0.8 +haddock-hoogle: true + +haddock-html: true + -- executable-static: True -- profiling: True -- library-profiling: False diff --git a/fixme-new/lib/Fixme/Run.hs b/fixme-new/lib/Fixme/Run.hs index eaa6454e..eea2d299 100644 --- a/fixme-new/lib/Fixme/Run.hs +++ b/fixme-new/lib/Fixme/Run.hs @@ -48,7 +48,7 @@ import System.IO.Temp as Temp import System.IO qualified as IO -{- HLINT Ignore "Functor law" -} +{- HLINT ignore "Functor law" -} withFixmeCLI :: FixmePerks m => FixmeEnv -> FixmeM m a -> m a withFixmeCLI env m = do @@ -222,6 +222,8 @@ runTop forms = do atomically $ writeTVar t action + _ -> throwIO $ BadFormException @C nil + entry $ bindMatch "fixme-def-context" $ nil_ \case [LitIntVal a, LitIntVal b] -> do t <- lift $ asks fixmeEnvCatContext diff --git a/flake.nix b/flake.nix index 691984b2..5e5c5adf 100644 --- a/flake.nix +++ b/flake.nix @@ -105,6 +105,8 @@ outputs = { self, nixpkgs, haskell-flake-utils, ... }@inputs: ]; + shellWithHoogle = true; + shell = {pkgs, ...}: pkgs.haskellPackages.shellFor { packages = _: pkgs.lib.attrsets.attrVals packageNames pkgs.haskellPackages;