rockbox_utility: fix path to lrelease

+7
+7
pkgs/tools/misc/rockbox-utility/default.nix
··· 2 2 , qtbase, qttools, makeWrapper, qmake 3 3 , withEspeak ? false, espeak ? null }: 4 4 5 + let inherit (stdenv.lib) getDev; in 6 + 5 7 stdenv.mkDerivation rec { 6 8 name = "rockbox-utility-${version}"; 7 9 version = "1.4.0"; ··· 14 16 buildInputs = [ libusb1 qtbase qttools ] 15 17 ++ stdenv.lib.optional withEspeak espeak; 16 18 nativeBuildInputs = [ makeWrapper pkgconfig qmake ]; 19 + 20 + postPatch = '' 21 + sed -i rbutil/rbutilqt/rbutilqt.pro \ 22 + -e '/^lrelease.commands =/ s|$$\[QT_INSTALL_BINS\]/lrelease -silent|${getDev qttools}/bin/lrelease|' 23 + ''; 17 24 18 25 preConfigure = '' 19 26 cd rbutil/rbutilqt