run treefmt

This commit is contained in:
Sridhar Ratnakumar 2022-07-18 10:18:23 -04:00
parent 53f9a16a5a
commit 958d729a16
2 changed files with 16 additions and 15 deletions

View file

@ -1,12 +1,12 @@
{ pkgs, ... }:
(self: super:
let
justFuckingBuild = drv: with pkgs.haskell.lib; dontHaddock (dontCheck drv);
in
{
xmonad = justFuckingBuild (self.callHackage "xmonad" "0.17.0" { });
xmonad-contrib = justFuckingBuild (self.callHackage "xmonad-contrib" "0.17.0" { });
xmonad-extras = justFuckingBuild (self.callHackage "xmonad-extras" "0.17.0" { });
}
let
justFuckingBuild = drv: with pkgs.haskell.lib; dontHaddock (dontCheck drv);
in
{
xmonad = justFuckingBuild (self.callHackage "xmonad" "0.17.0" { });
xmonad-contrib = justFuckingBuild (self.callHackage "xmonad-contrib" "0.17.0" { });
xmonad-extras = justFuckingBuild (self.callHackage "xmonad-extras" "0.17.0" { });
}
)

View file

@ -31,13 +31,14 @@ in
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart =
let pgrstConf = pkgs.writeText "pgrst.conf" ''
db-uri = "postgres://postgres@localhost/postgres"
db-schema = "chronicle"
# TODO: change when going production
db-anon-role = "postgres"
server-port = 7000
'';
let
pgrstConf = pkgs.writeText "pgrst.conf" ''
db-uri = "postgres://postgres@localhost/postgres"
db-schema = "chronicle"
# TODO: change when going production
db-anon-role = "postgres"
server-port = 7000
'';
in
"${postgrest}/bin/postgrest ${pgrstConf}";
Restart = "always";