3
0
Fork 0
forked from mirrors/nixpkgs

rockbox_utility: fix path to lrelease

This commit is contained in:
Thomas Tuegel 2017-10-24 06:46:49 -05:00
parent d3c11c512c
commit a055cee512
No known key found for this signature in database
GPG key ID: 22CBF5249D4B4D59

View file

@ -2,6 +2,8 @@
, qtbase, qttools, makeWrapper, qmake
, withEspeak ? false, espeak ? null }:
let inherit (stdenv.lib) getDev; in
stdenv.mkDerivation rec {
name = "rockbox-utility-${version}";
version = "1.4.0";
@ -15,6 +17,11 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional withEspeak espeak;
nativeBuildInputs = [ makeWrapper pkgconfig qmake ];
postPatch = ''
sed -i rbutil/rbutilqt/rbutilqt.pro \
-e '/^lrelease.commands =/ s|$$\[QT_INSTALL_BINS\]/lrelease -silent|${getDev qttools}/bin/lrelease|'
'';
preConfigure = ''
cd rbutil/rbutilqt
'';