gnu: disarchive: Fix build when cross-compiling.
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>
Tue, 18 May 2021 02:33:57 +0000 (22:33 -0400)
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>
Tue, 18 May 2021 03:27:40 +0000 (23:27 -0400)
commit0ac95b4490f2b661370b29980f6f01d28d03db6a
tree9f73bd7d847f52d8a32a7c8bd80d78e7b38bf8af
parentfd449608eb9016fb705eebbea784901b0242cbf2
gnu: disarchive: Fix build when cross-compiling.

This follows commit 0b1f70d1a7, which inadvertently broke the build of Guix
for i586-pc-gnu (Hurd).

* gnu/packages/patches/disarchive-cross-compilation.patch: New patch.
* gnu/local.mk (dist_patch_DATA): Register it.
* gnu/packages/backup.scm (disarchive)[source]: Apply it.
[phases]{delete-configure}: New phase.
[native-inputs]: Add guile-3.0 and guile-gcrypt.
gnu/local.mk
gnu/packages/backup.scm
gnu/packages/patches/disarchive-cross-compilation.patch [new file with mode: 0644]