diff --git a/flake.nix b/flake.nix index f57aca3db9e37e22e186c4681953155a65f669d0..fd4d506b24069a83577ec2fe6a43241f846e3f15 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; };