1
0
Fork 0

Activate hoogle

This commit is contained in:
Malte Brandy 2020-08-01 22:05:35 +02:00
parent 9743760a59
commit 1dcda9d65e
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
3 changed files with 10 additions and 2 deletions

View file

@ -6,4 +6,12 @@
meld icedtea8_web octave filezilla nix-review gparted
grafana-devel;
};
systemd.user.services.hoogle = {
Unit.Description = "Hoogle server";
Install.WantedBy = [ "graphical-session.target" ];
Service = {
ExecStart = "${pkgs.ghc}/bin/hoogle server";
Restart = "always";
};
};
}

View file

@ -1,7 +1,7 @@
{ pkgs, config, ... }:
let
notesDir = "${config.home.homeDirectory}/git/zettelkasten";
cmd = "${pkgs.myHaskellPackages.neuron}/bin/neuron -d ${notesDir} rib -wS";
cmd = "${pkgs.myHaskellPackages.neuron}/bin/neuron -d ${notesDir} rib -w -s 127.0.0.1:8002";
in {
systemd.user.services.neuron = {
Unit.Description = "Neuron zettelkasten service";

View file

@ -18,5 +18,5 @@ in {
myHaskellPackages = makeHaskellPackages master.haskellPackages;
scriptGhc = master.ghc.withPackages
(p: builtins.attrValues (makeHaskellScriptPackages p));
ghc = master.ghc.withPackages (p: builtins.attrValues (makeHaskellPackages p));
ghc = master.ghc.withHoogle (p: builtins.attrValues (makeHaskellPackages p));
}