Unverified Commit d8623588 authored by Moraxyc's avatar Moraxyc
Browse files

python3Packages.curated-tokenizers: fix build with gcc15

parent 38451b2e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -21,6 +21,11 @@ buildPythonPackage rec {
    fetchSubmodules = true;
  };

  # Fix gcc15 build failures due to missing <cstdint>
  postPatch = ''
    sed -i '1i #include <cstdint>' sentencepiece/src/sentencepiece_processor.h
  '';

  build-system = [
    cython
    setuptools