From d659e3551d9e870759e6b5397fb4a76629e01faf Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Sat, 20 Aug 2022 09:39:19 +0200 Subject: [PATCH] tiny: fix cross --- srcpkgs/tiny/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/tiny/template b/srcpkgs/tiny/template index bfcafbf86e8..129b4208dfc 100644 --- a/srcpkgs/tiny/template +++ b/srcpkgs/tiny/template @@ -14,6 +14,11 @@ homepage="https://github.com/osa1/tiny" distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz" checksum=7f4751b5e34057ba65e86f3819f2ae8288307a5a8e83e5fbb2733759c8100cb7 +pre_build() { + # fixes an indexmap error when cross compiling + cargo update --package autocfg:1.0.1 --precise 1.1.0 +} + post_install() { vlicense ../../LICENSE }