3
0
Fork 0
forked from mirrors/nixpkgs

qt5ct: fix path to lrelease

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

View file

@ -1,5 +1,7 @@
{ stdenv, fetchurl, qtbase, qtsvg, qttools, qmake }:
let inherit (stdenv.lib) getDev; in
stdenv.mkDerivation rec {
name = "qt5ct-${version}";
version = "0.33";
@ -14,6 +16,8 @@ stdenv.mkDerivation rec {
buildInputs = [ qtbase qtsvg ];
qmakeFlags = [ ''LRELEASE_EXECUTABLE=${getDev qttools}/bin/lrelease'' ];
preConfigure = ''
qmakeFlags="$qmakeFlags PLUGINDIR=$out/$qtPluginPrefix"
'';