Merge pull request #290984 from sarahec/floret-105-buildfix
python311Packages.floret: fix build by supplying <cstdint>
This commit is contained in:
commit
c5fa199a32
2 changed files with 14 additions and 0 deletions
12
pkgs/development/python-modules/floret/cstdint.patch
Normal file
12
pkgs/development/python-modules/floret/cstdint.patch
Normal 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>
|
|
@ -23,6 +23,8 @@ buildPythonPackage rec {
|
|||
hash = "sha256-7vkw6H0ZQoHEwNusY6QWh/vPbSCdP1ZaaqABHsZH6hQ=";
|
||||
};
|
||||
|
||||
patches = [./cstdint.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pybind11
|
||||
setuptools
|
||||
|
|
Loading…
Reference in a new issue