diff options
author | László Kupcsik <koopac@gmail.com> | 2024-04-19 22:40:28 +0200 |
---|---|---|
committer | László Kupcsik <koopac@gmail.com> | 2024-04-19 22:40:28 +0200 |
commit | 2684333c1572b73b9b1ef444402fde8bef3ae0e6 (patch) | |
tree | 74f1a7b31dd355974f499b85272c72e26942ff0a | |
parent | 7872e50e11b94fc42c14dae8fb22f9ea16a63921 (diff) |
rPackages.rgoslin: add missing header
-rw-r--r-- | pkgs/development/r-modules/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/r-modules/patches/rgoslin.patch | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 096bfd6b1bdd8..639e008a2d166 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1281,6 +1281,10 @@ let ''; }); + rgoslin = old.rgoslin.overrideAttrs (attrs: { + patches = [ ./patches/rgoslin.patch ]; + }); + rpanel = old.rpanel.overrideAttrs (attrs: { preConfigure = '' export TCLLIBPATH="${pkgs.bwidget}/lib/bwidget${pkgs.bwidget.version}" diff --git a/pkgs/development/r-modules/patches/rgoslin.patch b/pkgs/development/r-modules/patches/rgoslin.patch new file mode 100644 index 0000000000000..4e17b69b383f1 --- /dev/null +++ b/pkgs/development/r-modules/patches/rgoslin.patch @@ -0,0 +1,12 @@ +diff --git a/src/cppgoslin/cppgoslin/domain/StringFunctions.h b/src/cppgoslin/cppgoslin/domain/StringFunctions.h +index 70e8544..de5c040 100644 +--- a/src/cppgoslin/cppgoslin/domain/StringFunctions.h ++++ b/src/cppgoslin/cppgoslin/domain/StringFunctions.h +@@ -35,6 +35,7 @@ SOFTWARE. + #include "cppgoslin/domain/Element.h" + #include <algorithm> + #include <cctype> ++#include <cstdint> + + + #define contains_val(X, Y) ((X).find(Y) != (X).end()) |