gnu: julia-mappedarrays: Fix tests on i686-linux.
* gnu/packages/julia-xyz.scm (julia-mappedarrays)[arguments]<#:phases>: Conditionally replace the incorrect type in test suite. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									dcd7c950c6
								
							
						
					
					
						commit
						7c8e9cbfa9
					
				
					 1 changed files with 9 additions and 0 deletions
				
			
		| 
						 | 
					@ -2901,6 +2901,15 @@ that let you do deep transformations of code.")
 | 
				
			||||||
        (sha256
 | 
					        (sha256
 | 
				
			||||||
         (base32 "0l5adird8m1cmnsxwhzi5hcr7q9bm1rf7a6018zc7kcn2yxdshy3"))))
 | 
					         (base32 "0l5adird8m1cmnsxwhzi5hcr7q9bm1rf7a6018zc7kcn2yxdshy3"))))
 | 
				
			||||||
    (build-system julia-build-system)
 | 
					    (build-system julia-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       ,@(if (target-64bit?)
 | 
				
			||||||
 | 
					           '(%standard-phases)
 | 
				
			||||||
 | 
					           '((modify-phases %standard-phases
 | 
				
			||||||
 | 
					               (add-after 'unpack 'fix-tests-int32-i686
 | 
				
			||||||
 | 
					                 (lambda _
 | 
				
			||||||
 | 
					                   (substitute* "test/runtests.jl"
 | 
				
			||||||
 | 
					                     (("Int64") "Int32")))))))))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     `(("julia-fixedpointnumbers" ,julia-fixedpointnumbers)))
 | 
					     `(("julia-fixedpointnumbers" ,julia-fixedpointnumbers)))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue