gmic-qt: fix build error on filter translation scripts

This commit is contained in:
André Silva 2023-01-15 15:31:47 +00:00
parent 162545d3fd
commit d664fb98b6
No known key found for this signature in database
GPG key ID: 7C34FA12A023DC55

View file

@ -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 \