diff --git a/pkgs/development/libraries/zint/default.nix b/pkgs/development/libraries/zint/default.nix index ae5582f4d3be..fc6fd501c4d8 100644 --- a/pkgs/development/libraries/zint/default.nix +++ b/pkgs/development/libraries/zint/default.nix @@ -21,6 +21,8 @@ stdenv.mkDerivation rec { sha256 = "sha256-ozhXy7ftmGz1XvmF8AS1ifWJ3Q5hLSsysB8qLUP60n8="; }; + patches = [ ./qobject.patch ]; + outputs = [ "out" "dev" ]; nativeBuildInputs = [ cmake wrapQtAppsHook ]; diff --git a/pkgs/development/libraries/zint/qobject.patch b/pkgs/development/libraries/zint/qobject.patch new file mode 100644 index 000000000000..f991d52648f3 --- /dev/null +++ b/pkgs/development/libraries/zint/qobject.patch @@ -0,0 +1,12 @@ +diff --git a/backend_qt/qzint.h b/backend_qt/qzint.h +index d57ab6a..62fb0a4 100644 +--- a/backend_qt/qzint.h ++++ b/backend_qt/qzint.h +@@ -19,6 +19,7 @@ + #ifndef QZINT_H + #define QZINT_H + ++#include + #include + #include + #include "zint.h"