python311Packages.floret: fix build by supplying <cstdint>

This commit is contained in:
sarahec 2024-02-23 12:54:38 -08:00
parent a9a0c2c4ed
commit 2892afcaeb
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,12 @@
diff --git a/src/args.cc b/src/args.cc
index a8975e81624c..99854c919341 100644
--- a/src/args.cc
+++ b/src/args.cc
@@ -10,6 +10,7 @@
#include <stdlib.h>
+#include <cstdint>
#include <iostream>
#include <stdexcept>
#include <string>

View File

@ -23,6 +23,8 @@ buildPythonPackage rec {
hash = "sha256-7vkw6H0ZQoHEwNusY6QWh/vPbSCdP1ZaaqABHsZH6hQ=";
};
patches = [./cstdint.patch ];
nativeBuildInputs = [
pybind11
setuptools