Skip to content
Snippets Groups Projects
Commit fe73b3b4 authored by Daniel Firth's avatar Daniel Firth
Browse files

add hoogle app

parent 763e339f
Branches
1 merge request!52Hoogle app
......@@ -48,9 +48,19 @@
packages = filterAttrs (_: isDerivation) legacyPackages;
horizon-hoogle = pkgs.writers.writeBashBin "horizon-hoogle" ''
${legacyPackages.ghcWithHoogle (p: attrValues (packages // { hoogle = null; }))}/bin/hoogle server --local
'';
in
{
apps = {
run-hoogle = {
type = "app";
program = "${horizon-hoogle}/bin/horizon-core-hoogle";
};
};
checks = with lint-utils.linters.${system}; {
dhall-format = dhall-format { src = self; };
nixpkgs-fmt = nixpkgs-fmt { src = self; find = "flake.nix"; };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment