tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
rockbox_utility: fix path to lrelease
Thomas Tuegel
8 years ago
a055cee5
d3c11c51
+7
1 changed file
expand all
collapse all
unified
split
pkgs
tools
misc
rockbox-utility
default.nix
+7
pkgs/tools/misc/rockbox-utility/default.nix
···
2
, qtbase, qttools, makeWrapper, qmake
3
, withEspeak ? false, espeak ? null }:
4
0
0
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 ];
0
0
0
0
0
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