gnu: ghc-pandoc: Fix tests.
* gnu/packages/haskell-xyz.scm (ghc-pandoc)[arguments]: Add build phase "find-library".
This commit is contained in:
		
							parent
							
								
									f79e4b1fcd
								
							
						
					
					
						commit
						c18e4f3ec0
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -8762,6 +8762,17 @@ code.  It was designed for use in @code{Pandoc}.")
 | 
				
			||||||
        (base32
 | 
					        (base32
 | 
				
			||||||
         "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
 | 
					         "0dpjrr40h54cljzhvixyym07z792a9izg6b9dmqpjlgcg4rj0xx8"))))
 | 
				
			||||||
    (build-system haskell-build-system)
 | 
					    (build-system haskell-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'find-library
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "test/Tests/Command.hs"
 | 
				
			||||||
 | 
					               (("= dynlibEnv")
 | 
				
			||||||
 | 
					                (format #f "= [(\"LD_LIBRARY_PATH\" , \"~a/dist/build\")]"
 | 
				
			||||||
 | 
					                        (getcwd))))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
 | 
					    (outputs '("out" "static" "doc"))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("ghc-aeson" ,ghc-aeson)
 | 
					     `(("ghc-aeson" ,ghc-aeson)
 | 
				
			||||||
       ("ghc-aeson-pretty" ,ghc-aeson-pretty)
 | 
					       ("ghc-aeson-pretty" ,ghc-aeson-pretty)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue