aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-11 10:59:02 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-11 10:59:04 +0200
commit7dac3a98bceef8ffb40f63f3506de5fe93b218a5 (patch)
tree8dd375013671f87e574a1e604c2945db47e951c3
parent688eed82928f5106d196df20b9fda468ee4b2038 (diff)
add ghcid
Invoking `ghcid` allows us to watch for compilation errors while developing.
-rw-r--r--.ghci2
-rw-r--r--default.nix1
2 files changed, 3 insertions, 0 deletions
diff --git a/.ghci b/.ghci
new file mode 100644
index 0000000..c9e17b7
--- /dev/null
+++ b/.ghci
@@ -0,0 +1,2 @@
+:set -iapp
+:load Main
diff --git a/default.nix b/default.nix
index 1708430..4b4c392 100644
--- a/default.nix
+++ b/default.nix
@@ -27,6 +27,7 @@ rec {
haskellPackages.cabal-install
haskellPackages.ormolu
pkgs.tree-grepper
+ pkgs.ghcid
pkgs.git
];
shellHook = ''