diff --git a/pkgs/tools/graphics/gmic-qt/default.nix b/pkgs/tools/graphics/gmic-qt/default.nix index 5da3c45d0049..a937ea51784a 100644 --- a/pkgs/tools/graphics/gmic-qt/default.nix +++ b/pkgs/tools/graphics/gmic-qt/default.nix @@ -2,6 +2,7 @@ , mkDerivation , variant ? "standalone" , fetchFromGitHub +, fetchpatch , cmake , pkg-config , ninja @@ -94,6 +95,15 @@ mkDerivation rec { "-DENABLE_SYSTEM_GMIC:BOOL=ON" ]; + patches = [ + # NOTE: this should be removed when a new version is released. + (fetchpatch { + name = "fix_filter_translation_scripts.patch"; + url = "https://github.com/c-koi/gmic-qt/commit/ccb9f29eda239d0c80663593cd90a6548c935b39.patch"; + sha256 = "sha256-OzuJ6yGuDJweQ+1uin/pmJqZV79bN9E1Zuo+0iciwzg="; + }) + ]; + postPatch = '' patchShebangs \ translations/filters/csv2ts.sh \