gnu: libzip: Fix building on 32-bit architectures.
* gnu/packages/compression.scm (libzip)[arguments]: New field, add phase to skip tests which are known to have issues on 32-bit architectures.master
parent
daca2ec4bb
commit
56bf42fb40
|
@ -1550,6 +1550,16 @@ manipulate, read, and write Zip archive files.")
|
|||
(sha256
|
||||
(base32
|
||||
"0wykw0q9dwdzx0gssi2dpgckx9ggr2spzc1amjnff6wi6kz6x4xa"))))
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'build 'remove-failing-tests
|
||||
;; These tests are known to fail on 32-bit architectures.
|
||||
;; see thread: https://nih.at/listarchive/libzip-discuss/msg00713.html
|
||||
(lambda _
|
||||
(substitute* "regress/Makefile"
|
||||
(("encryption-nonrandom") "#encryption-nonrandom"))
|
||||
#t)))))
|
||||
(native-inputs
|
||||
`(("perl" ,perl)))
|
||||
(inputs
|
||||
|
|
Reference in New Issue