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
2
, qtbase, qttools, makeWrapper, qmake
3
3
, withEspeak ? false, espeak ? null }:
4
4
5
5
+
let inherit (stdenv.lib) getDev; in
6
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
19
+
20
20
+
postPatch = ''
21
21
+
sed -i rbutil/rbutilqt/rbutilqt.pro \
22
22
+
-e '/^lrelease.commands =/ s|$$\[QT_INSTALL_BINS\]/lrelease -silent|${getDev qttools}/bin/lrelease|'
23
23
+
'';
17
24
18
25
preConfigure = ''
19
26
cd rbutil/rbutilqt