File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 571
571
] ;
572
572
in
573
573
ourPatches ++ upstreamPatches ;
574
+
575
+ buildInputs = attrs . buildInputs or [ ] ++ [
576
+ pkgs . bison
577
+ ] ;
578
+
579
+ preConfigure = attrs . preConfigure or "" + lib . optionalString ( lib . versionAtLeast prev . php . version "7.4" ) ''
580
+ ../../scripts/dev/genfiles
581
+ '' ;
574
582
} ) ;
575
583
576
584
pdo_mysql =
697
705
ourPatches ++ upstreamPatches ;
698
706
} ) ;
699
707
700
- tokenizer = prev . extensions . tokenizer . overrideAttrs ( attrs : {
701
- patches = builtins . filter
702
- ( patch :
703
- # The patch do not apply to PHP < 8.1
704
- patchName patch == "fix-tokenizer-php81.patch" -> lib . versionAtLeast prev . php . version "8.1"
705
- )
706
- ( attrs . patches or [ ] ) ;
707
- } ) ;
708
-
709
708
tokenizer = prev . extensions . tokenizer . overrideAttrs ( attrs : {
710
709
patches = builtins . filter
711
710
( patch :
714
713
)
715
714
( attrs . patches or [ ] ) ;
716
715
717
- nativeBuildInputs = attrs . nativeBuildInputs or [ ] ++ lib . optionals isBuiltFromGit [
718
- # Tarballs ship pre-generated parser files.
716
+ buildInputs = attrs . buildInputs or [ ] ++ [
719
717
pkgs . bison
720
- pkgs . flex
721
718
] ;
722
719
720
+ preConfigure = attrs . preConfigure or "" + lib . optionalString ( lib . versionAtLeast prev . php . version "7.4" ) ''
721
+ ../../scripts/dev/genfiles
722
+ '' ;
723
723
} ) ;
724
724
725
725
wddx =
You can’t perform that action at this time.
0 commit comments