diff --git a/pkgs/desktops/kde-5/applications-15.12/l10n.nix b/pkgs/desktops/kde-5/applications-15.12/l10n.nix index 3f06b9e41adf..9b211faf4448 100644 --- a/pkgs/desktops/kde-5/applications-15.12/l10n.nix +++ b/pkgs/desktops/kde-5/applications-15.12/l10n.nix @@ -193,9 +193,19 @@ lib.mapAttrs (name: attr: pkgs.recurseIntoAttrs attr) { qt5 = callPackage (kdeLocale5 "sl" {}) {}; }; sr = { - qt4 = callPackage (kdeLocale4 "sr" {}) {}; + qt4 = callPackage (kdeLocale4 "sr" { + preConfigure = '' + patchShebangs \ + 4/sr/sr@latin/scripts/ts-pmap-compile.py \ + 4/sr/scripts/ts-pmap-compile.py \ + 4/sr/data/resolve-sr-hybrid \ + 4/sr/sr@ijekavian/scripts/ts-pmap-compile.py \ + 4/sr/sr@ijekavianlatin/scripts/ts-pmap-compile.py + ''; + }) {}; qt5 = callPackage (kdeLocale5 "sr" { preConfigure = '' + patchShebangs 5/sr/data/resolve-sr-hybrid sed -e 's/add_subdirectory(kdesdk)//' -i 5/sr/data/CMakeLists.txt ''; }) {};