mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-20 08:59:32 +03:00
perlPackages.TextBibTeX: always install libbtparse.so to /lib instead of /lib64
This commit is contained in:
parent
06adb25e47
commit
d9bf21544e
@ -5,7 +5,7 @@
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
- if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
|
- if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^aarch64|^riscv64/ ) {
|
||||||
+ if ( $Config{archname} =~ /^x86_64|^ppc64|^s390x|^riscv64/ ) {
|
+ if ( 0 ) {
|
||||||
$libdir =~ s/\bbin\b/lib64/;
|
$libdir =~ s/\bbin\b/lib64/;
|
||||||
if ( !-d $libdir ) {
|
if ( !-d $libdir ) {
|
||||||
my $test = $libdir;
|
my $test = $libdir;
|
@ -25171,8 +25171,8 @@ with self; {
|
|||||||
url = "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-0.88.tar.gz";
|
url = "mirror://cpan/authors/id/A/AM/AMBS/Text-BibTeX-0.88.tar.gz";
|
||||||
hash = "sha256-sBRYbmi9vK+wos+gQB6woE6l3oxNW8Nt0Pf66ras9Cw=";
|
hash = "sha256-sBRYbmi9vK+wos+gQB6woE6l3oxNW8Nt0Pf66ras9Cw=";
|
||||||
};
|
};
|
||||||
# libbtparse.so: cannot open shared object file (aarch64 only)
|
# libbtparse.so: cannot open shared object file
|
||||||
patches = [ ../development/perl-modules/TextBibTeX-use-lib-on-aarch64.patch ];
|
patches = [ ../development/perl-modules/TextBibTeX-use-lib.patch ];
|
||||||
perlPreHook = "export LD=$CC";
|
perlPreHook = "export LD=$CC";
|
||||||
perlPostHook = lib.optionalString stdenv.isDarwin ''
|
perlPostHook = lib.optionalString stdenv.isDarwin ''
|
||||||
oldPath="$(pwd)/btparse/src/libbtparse.dylib"
|
oldPath="$(pwd)/btparse/src/libbtparse.dylib"
|
||||||
|
Loading…
Reference in New Issue
Block a user