about summary refs log tree commit diff
path: root/pkgs/tools/graphics/gmic-qt
diff options
context:
space:
mode:
authorAndré Silva <andrerfosilva@gmail.com>2023-01-15 15:31:47 +0000
committerAndré Silva <andrerfosilva@gmail.com>2023-01-15 15:32:45 +0000
commitd664fb98b6753cad575d97978d594303b608ea0c (patch)
tree419147e72c2b861efe979d0ab3d2c250caed35d2 /pkgs/tools/graphics/gmic-qt
parent162545d3fdf3c7c02ca8eb0d8dc3d6aec7cae2ea (diff)
gmic-qt: fix build error on filter translation scripts
Diffstat (limited to 'pkgs/tools/graphics/gmic-qt')
-rw-r--r--pkgs/tools/graphics/gmic-qt/default.nix10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/tools/graphics/gmic-qt/default.nix b/pkgs/tools/graphics/gmic-qt/default.nix
index 5da3c45d00499..a937ea51784a6 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 \