git.iko.soy/typeable/nixpkgs
on master help sign in
rockbox_utility: fix path to lrelease
commita055cee512434aa7ce8b95c17a6f767c60059191 authorThomas Tuegel <ttuegel@mailbox.org> dateTue 24 Oct 2017, 06:46 (9 years ago) parentd3c11c5
1 file changed+7
pkgs/tools/misc/rockbox-utility/default.nix+7
pkgs/tools/misc/rockbox-utility/default.nix+7
@@ -2,6 +2,8 @@
22, qtbase, qttools, makeWrapper, qmake
33, withEspeak ? false, espeak ? null }:
44
5+let inherit (stdenv.lib) getDev; in
6+
57stdenv.mkDerivation rec {
68 name = "rockbox-utility-${version}";
79 version = "1.4.0";
@@ -15,6 +17,11 @@ stdenv.mkDerivation rec {
1517 ++ stdenv.lib.optional withEspeak espeak;
1618 nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
1719
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+
1825 preConfigure = ''
1926 cd rbutil/rbutilqt
2027 '';