Merge pull request #291307 from trofi/sortmerna-gcc-13-fix

sortmerna: fix `gcc-13` build
This commit is contained in:
Nick Cao 2024-02-25 11:12:12 -05:00 committed by GitHub
commit c063b9b052
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,6 +32,10 @@ stdenv.mkDerivation rec {
substituteInPlace src/sortmerna/CMakeLists.txt \
--replace "target_link_libraries(sortmerna" \
"target_link_libraries(sortmerna Threads::Threads"
# Fix gcc-13 build by adding missing <cstdint> includes:
# https://github.com/sortmerna/sortmerna/issues/412
sed -e '1i #include <cstdint>' -i include/kseq_load.hpp
'';
meta = with lib; {