From 2892afcaebe414b36cd2586eb47e49c17487d4cb Mon Sep 17 00:00:00 2001 From: sarahec Date: Fri, 23 Feb 2024 12:54:38 -0800 Subject: [PATCH] python311Packages.floret: fix build by supplying --- pkgs/development/python-modules/floret/cstdint.patch | 12 ++++++++++++ pkgs/development/python-modules/floret/default.nix | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 pkgs/development/python-modules/floret/cstdint.patch diff --git a/pkgs/development/python-modules/floret/cstdint.patch b/pkgs/development/python-modules/floret/cstdint.patch new file mode 100644 index 000000000000..f30f557cb701 --- /dev/null +++ b/pkgs/development/python-modules/floret/cstdint.patch @@ -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 + ++#include + #include + #include + #include diff --git a/pkgs/development/python-modules/floret/default.nix b/pkgs/development/python-modules/floret/default.nix index 72248cf8dbaa..6ca020ac81df 100644 --- a/pkgs/development/python-modules/floret/default.nix +++ b/pkgs/development/python-modules/floret/default.nix @@ -23,6 +23,8 @@ buildPythonPackage rec { hash = "sha256-7vkw6H0ZQoHEwNusY6QWh/vPbSCdP1ZaaqABHsZH6hQ="; }; + patches = [./cstdint.patch ]; + nativeBuildInputs = [ pybind11 setuptools