Use the (undocumented!) helper function haskellSrc2nix over having to explicitly run cabal2nix all the time when rebuilding
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			377 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			377 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| { nixpkgs ? import ./nixpkgs.nix {}, compiler ? "ghc865" }:
 | |
| let
 | |
|   inherit (nixpkgs) pkgs;
 | |
|   all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
 | |
|   hie = all-hies.selection { selector = p: { inherit (p) ghc865; }; };
 | |
|   xanthous = pkgs.haskellPackages.callPackage (import ./pkg.nix { inherit nixpkgs; }) {};
 | |
| in
 | |
| xanthous // { inherit hie; }
 |