diff options
author | Griffin Smith <root@gws.fyi> | 2020-05-10T22·41-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2020-05-10T22·41-0400 |
commit | 3ae2b02e8f12c516af1debf1e304f3d377142881 (patch) | |
tree | 2eadf6733529ff0a81ccd77ceff9241adf11eb1e | |
parent | 16faaa22921a5e186cd59700288aea21f1038029 (diff) |
beginning of setup for haskell dev
just some aliases cribbed from old config + cachix, for now
-rw-r--r-- | home/home.nix | 1 | ||||
-rw-r--r-- | home/modules/development.nix | 8 |
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"; + }; } |