tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
photoqt: use wrapQtProgram
Nikolay Amiantov
9 years ago
d2fec0a9
bac36baf
+4
-8
1 changed file
expand all
collapse all
unified
split
pkgs
applications
graphics
photoqt
default.nix
+4
-8
pkgs/applications/graphics/photoqt/default.nix
···
1
1
-
{ stdenv, fetchurl, cmake, makeWrapper, exiv2, graphicsmagick
1
1
+
{ stdenv, fetchurl, cmake, makeQtWrapper, exiv2, graphicsmagick
2
2
, qtbase, qtdeclarative, qtmultimedia, qtquickcontrols, qttools
3
3
}:
4
4
5
5
let
6
6
version = "1.3";
7
7
-
qmlPath = stdenv.lib.makeSearchPath "lib/qt5/qml/" [
8
8
-
qtquickcontrols
9
9
-
qtdeclarative
10
10
-
qtmultimedia
11
11
-
];
12
7
in
13
8
stdenv.mkDerivation rec {
14
9
name = "photoqt-${version}";
···
18
13
};
19
14
20
15
buildInputs = [
21
21
-
cmake makeWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick
16
16
+
cmake makeQtWrapper qtbase qtquickcontrols qttools exiv2 graphicsmagick
17
17
+
qtmultimedia qtdeclarative
22
18
];
23
19
24
20
preConfigure = ''
···
26
22
'';
27
23
28
24
postInstall = ''
29
29
-
wrapProgram $out/bin/photoqt --set QML2_IMPORT_PATH "${qmlPath}"
25
25
+
wrapQtProgram $out/bin/photoqt
30
26
'';
31
27
32
28
meta = {