diff --git a/pkgs/by-name/st/strobealign/include-cstdint.patch b/pkgs/by-name/st/strobealign/include-cstdint.patch new file mode 100644 index 000000000000..6b0536d588d4 --- /dev/null +++ b/pkgs/by-name/st/strobealign/include-cstdint.patch @@ -0,0 +1,12 @@ +diff --git a/ext/robin_hood.h b/ext/robin_hood.h +index a8f3a78..1c1b1d8 100644 +--- a/ext/robin_hood.h ++++ b/ext/robin_hood.h +@@ -41,6 +41,7 @@ + + #include + #include ++#include + #include + #include + #include // only to support hash of smart pointers diff --git a/pkgs/by-name/st/strobealign/package.nix b/pkgs/by-name/st/strobealign/package.nix index 54f6e6ab866b..891544b36c54 100644 --- a/pkgs/by-name/st/strobealign/package.nix +++ b/pkgs/by-name/st/strobealign/package.nix @@ -18,6 +18,10 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-ah21ptyfZbgdJrtCCftYhGh1hfcJ9JpXNsXUp8pZDJw="; }; + patches = [ + ./include-cstdint.patch + ]; + nativeBuildInputs = [ cmake pkg-config