Use pandoc From Stackage Snapshot (#558)
Use pandoc from stackage snapshot when building documentation to ensure that pandoc and the pandoc filters are built against the same version of pandoc-types; otherwise, the filters can fail with an obtuse error (see https://github.com/jgm/pandoc/issues/3217).
This commit is contained in:
		
							parent
							
								
									dca7ffc10b
								
							
						
					
					
						commit
						659b9c9d32
					
				
							
								
								
									
										3
									
								
								Shake.hs
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Shake.hs
									
									
									
									
									
								
							| @ -68,8 +68,7 @@ usage = unlines | |||||||
|   ,"./Shake --help           # show options, eg --color" |   ,"./Shake --help           # show options, eg --color" | ||||||
|   ] |   ] | ||||||
| 
 | 
 | ||||||
| pandoc = "pandoc"                   -- pandoc from PATH (faster) | pandoc = "stack exec -- pandoc" -- pandoc from project's stackage snapshot | ||||||
|          --  "stack exec -- pandoc" -- pandoc from project's stackage snapshot |  | ||||||
| hakyllstd = "site/hakyll-std/hakyll-std" | hakyllstd = "site/hakyll-std/hakyll-std" | ||||||
| makeinfo = "makeinfo" | makeinfo = "makeinfo" | ||||||
| -- nroff = "nroff" | -- nroff = "nroff" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user