Merge pull request #290984 from sarahec/floret-105-buildfix

python311Packages.floret: fix build by supplying <cstdint>
This commit is contained in:
Sandro 2024-02-27 08:57:03 +01:00 committed by GitHub
commit c5fa199a32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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