perlPackages.TextBibTeX: use lib instead of lib64 on aarch64 (#122567)

This commit is contained in:
Vincenzo Mantova
2021-05-15 10:04:35 +02:00
committed by GitHub
parent 8599a6c417
commit 3d385c7894
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -21787,6 +21787,8 @@ let
url = "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-0.88.tar.gz";
sha256 = "0b7lmjvfmypps1nw6nsdikgaakm0n0g4186glaqazg5xd1p5h55h";
};
# libbtparse.so: cannot open shared object file (aarch64 only)
patches = [ ../development/perl-modules/TextBibTeX-use-lib-on-aarch64.patch ];
perlPreHook = "export LD=$CC";
perlPostHook = lib.optionalString stdenv.isDarwin ''
oldPath="$(pwd)/btparse/src/libbtparse.dylib"