beginning of setup for haskell dev
just some aliases cribbed from old config + cachix, for now
This commit is contained in:
		
							parent
							
								
									16faaa2292
								
							
						
					
					
						commit
						3ae2b02e8f
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -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;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue