mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: openssl: Delete ELF files from tarball.
Otherwise building openssl fails: substitute can't decode binary ELF file: ice-9/boot-9.scm:760:25: In procedure dispatch-exception: ice-9/boot-9.scm:760:25: Throw to key `decoding-error' with args `("peek-char" "input decoding error" 84 #<input: test/ssltest_old 15>)'. * gnu/packages/tls.scm (openssl)[source]: Add 'snippet'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
ff647c3d38
commit
8a9b08b503
1 changed files with 7 additions and 0 deletions
|
@ -235,6 +235,13 @@ (define-public openssl
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"037kvpisc6qh5dkppcwbm5bg2q800xh2hma3vghz8xcycmdij1yf"))
|
"037kvpisc6qh5dkppcwbm5bg2q800xh2hma3vghz8xcycmdij1yf"))
|
||||||
|
(snippet
|
||||||
|
'(begin
|
||||||
|
;; Remove ELF files. 'substitute*' can't read them.
|
||||||
|
(delete-file "test/ssltest_old")
|
||||||
|
(delete-file "test/v3ext")
|
||||||
|
(delete-file "test/x509aux")
|
||||||
|
#t))
|
||||||
(patches (search-patches "openssl-runpath.patch"
|
(patches (search-patches "openssl-runpath.patch"
|
||||||
"openssl-c-rehash-in.patch"))))
|
"openssl-c-rehash-in.patch"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
Loading…
Reference in a new issue