Merge pull request #67926 from flokli/fix-biber-tests
biber: fix currently broken tests
This commit is contained in:
commit
460927aae7
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, perlPackages, shortenPerlShebang, texlive }:
|
{ stdenv, fetchpatch, perlPackages, shortenPerlShebang, texlive }:
|
||||||
|
|
||||||
let
|
let
|
||||||
biberSource = stdenv.lib.head (builtins.filter (p: p.tlType == "source") texlive.biber.pkgs);
|
biberSource = stdenv.lib.head (builtins.filter (p: p.tlType == "source") texlive.biber.pkgs);
|
||||||
|
@ -10,6 +10,20 @@ perlPackages.buildPerlModule {
|
||||||
|
|
||||||
src = "${biberSource}/source/bibtex/biber/biblatex-biber.tar.gz";
|
src = "${biberSource}/source/bibtex/biber/biblatex-biber.tar.gz";
|
||||||
|
|
||||||
|
patches = stdenv.lib.optionals (stdenv.lib.versionAtLeast perlPackages.perl.version "5.30") [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "biber-fix-tests.patch";
|
||||||
|
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/biber-fix-tests.patch?h=5d0fffd493550e28b2fb81ad114d62a7c9403812";
|
||||||
|
sha256 = "1ninf46bxf4hm0p5arqbxqyv8r98xdwab34vvp467q1v23kfbhya";
|
||||||
|
})
|
||||||
|
|
||||||
|
(fetchpatch {
|
||||||
|
name = "biber-fix-tests-2.patch";
|
||||||
|
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/biber-fix-tests-2.patch?h=5d0fffd493550e28b2fb81ad114d62a7c9403812";
|
||||||
|
sha256 = "1l8pk454kkm0szxrv9rv9m2a0llw1jm7ffhgpyg4zfiw246n62x0";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = with perlPackages; [
|
buildInputs = with perlPackages; [
|
||||||
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
|
autovivification BusinessISBN BusinessISMN BusinessISSN ConfigAutoConf
|
||||||
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
|
DataCompare DataDump DateSimple EncodeEUCJPASCII EncodeHanExtra EncodeJIS2K
|
||||||
|
|
Loading…
Reference in New Issue