Skip to content

Commit

Permalink
doc: fix hoogle service
Browse files Browse the repository at this point in the history
  • Loading branch information
TristanCacqueray committed Jan 6, 2024
1 parent d978817 commit 03378ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ghcid:

# Start hoogle to search documentation
hoogle:
nix develop --command hoogle server -p 8081 --local --haskell
nix develop .#hoogle --command hoogle server -p 8081 --local --haskell

# Start a ghci repl
repl:
Expand Down
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
in {
haskellExtend = legacy.hExtend;
devShell."x86_64-linux" = legacy.shell;
devShells."x86_64-linux".hoogle = legacy.hshell;
devShells."x86_64-linux".ci = legacy.ci-shell;
devShells."x86_64-linux".monitoring = legacy.monitoring-shell;
packages."x86_64-linux".default = legacy.monocle-exe;
Expand Down
5 changes: 5 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,11 @@ in rec {
name = "monocle-services";
buildInputs = base-req ++ services-req;
};
hshell = hsPkgs.shellFor {
packages = p: [ (addExtraDeps p.monocle) p.pretty-simple ];
withHoogle = true;
};

shell = hsPkgs.shellFor {
packages = p: [ (addExtraDeps p.monocle) p.pretty-simple ];

Expand Down

0 comments on commit 03378ec

Please sign in to comment.