beginning of setup for haskell dev

just some aliases cribbed from old config + cachix, for now
This commit is contained in:
Griffin Smith 2020-05-10 18:41:11 -04:00
parent 16faaa2292
commit 3ae2b02e8f
2 changed files with 9 additions and 0 deletions

View file

@ -82,6 +82,7 @@ let machine = ./machines/chupacabra.nix; in
# Nix things # Nix things
nix-prefetch-github nix-prefetch-github
nix-review nix-review
cachix
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;

View file

@ -85,4 +85,12 @@
set editing-mode vi set editing-mode vi
''; '';
}; };
programs.zsh.shellAliases = {
# Haskell
"cnb" = "cabal new-build";
"cob" = "cabal old-build";
"cnr" = "cabal new-run";
"cor" = "cabal old-run";
};
} }