about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <root@gws.fyi>2020-05-10T22·41-0400
committerGriffin Smith <root@gws.fyi>2020-05-10T22·41-0400
commit3ae2b02e8f12c516af1debf1e304f3d377142881 (patch)
tree2eadf6733529ff0a81ccd77ceff9241adf11eb1e
parent16faaa22921a5e186cd59700288aea21f1038029 (diff)
beginning of setup for haskell dev
just some aliases cribbed from old config + cachix, for now
-rw-r--r--home/home.nix1
-rw-r--r--home/modules/development.nix8
2 files changed, 9 insertions, 0 deletions
diff --git a/home/home.nix b/home/home.nix
index 39fc1f14293b..5dd9b8a6b77e 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -82,6 +82,7 @@ let machine = ./machines/chupacabra.nix; in
     # Nix things
     nix-prefetch-github
     nix-review
+    cachix
   ];
 
   nixpkgs.config.allowUnfree = true;
diff --git a/home/modules/development.nix b/home/modules/development.nix
index 98f0ac8a8019..1b38157d4deb 100644
--- a/home/modules/development.nix
+++ b/home/modules/development.nix
@@ -85,4 +85,12 @@
       set editing-mode vi
     '';
   };
+
+  programs.zsh.shellAliases = {
+    # Haskell
+    "cnb" = "cabal new-build";
+    "cob" = "cabal old-build";
+    "cnr" = "cabal new-run";
+    "cor" = "cabal old-run";
+  };
 }