Decimal 0.5.1+ changed to banker's rounding (round to nearest even number), and math-functions 0.3.3.0 (used by roi) fixed various precision-related issues. Now we require the latest versions of these. This was causing some functional test failures when building with old GHCs/snapshots.
		
			
				
	
	
		
			30 lines
		
	
	
		
			552 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			552 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| # stack build plan using GHC 8.4.3
 | |
| 
 | |
| nix:
 | |
|   pure: false
 | |
|   packages: [perl gmp ncurses zlib]
 | |
| 
 | |
| # stack seems to enable this by default now, basically disabling bounds checks. Force it off.
 | |
| #allow-newer: false
 | |
| 
 | |
| resolver: lts-12.26
 | |
| 
 | |
| packages:
 | |
| - hledger-lib
 | |
| - hledger
 | |
| - hledger-ui
 | |
| - hledger-web
 | |
| 
 | |
| extra-deps:
 | |
| - cassava-megaparsec-2.0.0
 | |
| - config-ini-0.2.3.0
 | |
| - megaparsec-7.0.2
 | |
| - tasty-1.2.3
 | |
| - tasty-hunit-0.10.0.2
 | |
| - ansi-terminal-0.10.2
 | |
| - ansi-wl-pprint-0.6.9
 | |
| - wai-handler-launch-3.0.3.1
 | |
| - streaming-commons-0.2.1.2
 | |
| - network-2.7.0.0
 | |
| - math-functions-0.3.3.0
 |