rockbox_utility: fix path to lrelease

+7
+7
pkgs/tools/misc/rockbox-utility/default.nix
··· 2 , qtbase, qttools, makeWrapper, qmake 3 , withEspeak ? false, espeak ? null }: 4 5 stdenv.mkDerivation rec { 6 name = "rockbox-utility-${version}"; 7 version = "1.4.0"; ··· 14 buildInputs = [ libusb1 qtbase qttools ] 15 ++ stdenv.lib.optional withEspeak espeak; 16 nativeBuildInputs = [ makeWrapper pkgconfig qmake ]; 17 18 preConfigure = '' 19 cd rbutil/rbutilqt
··· 2 , qtbase, qttools, makeWrapper, qmake 3 , withEspeak ? false, espeak ? null }: 4 5 + let inherit (stdenv.lib) getDev; in 6 + 7 stdenv.mkDerivation rec { 8 name = "rockbox-utility-${version}"; 9 version = "1.4.0"; ··· 16 buildInputs = [ libusb1 qtbase qttools ] 17 ++ stdenv.lib.optional withEspeak espeak; 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 + ''; 24 25 preConfigure = '' 26 cd rbutil/rbutilqt