I'm still unsure whether or not this is a good idea, but experimenting is a good way to find out!
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			339 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			339 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ briefcase, ... }:
 | 
						|
 | 
						|
briefcase.buildHaskell.program {
 | 
						|
  name = "zoo";
 | 
						|
  srcs = builtins.path {
 | 
						|
    path = ./.;
 | 
						|
    name = "zoo-src";
 | 
						|
  };
 | 
						|
  ghcExtensions = [
 | 
						|
    "OverloadedStrings"
 | 
						|
    "NoImplicitPrelude"
 | 
						|
    "RecordWildCards"
 | 
						|
    "TypeApplications"
 | 
						|
  ];
 | 
						|
  deps = hpkgs: with hpkgs; [
 | 
						|
    servant-server
 | 
						|
    aeson
 | 
						|
    warp
 | 
						|
    rio
 | 
						|
  ];
 | 
						|
}
 |