mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
qBittorrent: fix qmake not found in qbittorrent build
Thanks to @romildo for finding the configure fix.
This commit is contained in:
parent
63d016b335
commit
05f2ebe16d
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, which
|
{ stdenv, fetchurl, pkgconfig, which
|
||||||
, boost, libtorrentRasterbar, qt5
|
, boost, libtorrentRasterbar, qmakeHook, qt5
|
||||||
, debugSupport ? false # Debugging
|
, debugSupport ? false # Debugging
|
||||||
, guiSupport ? true, dbus_libs ? null # GUI (disable to run headless)
|
, guiSupport ? true, dbus_libs ? null # GUI (disable to run headless)
|
||||||
, webuiSupport ? true # WebUI
|
, webuiSupport ? true # WebUI
|
||||||
|
@ -17,11 +17,17 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1f4impsjck8anl39pwypsck7j6xw0dl18qd0b4xi23r45jvx9l60";
|
sha256 = "1f4impsjck8anl39pwypsck7j6xw0dl18qd0b4xi23r45jvx9l60";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig which ];
|
nativeBuildInputs = [ pkgconfig which qmakeHook ];
|
||||||
|
|
||||||
buildInputs = [ boost libtorrentRasterbar qt5.qtbase qt5.qttools ]
|
buildInputs = [ boost libtorrentRasterbar qt5.qtbase qt5.qttools ]
|
||||||
++ optional guiSupport dbus_libs;
|
++ optional guiSupport dbus_libs;
|
||||||
|
|
||||||
|
dontUseQmakeConfigure = true;
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
export QT_QMAKE="$qtOut/bin"
|
||||||
|
'';
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-boost-libdir=${boost.lib}/lib"
|
"--with-boost-libdir=${boost.lib}/lib"
|
||||||
"--with-boost=${boost.dev}"
|
"--with-boost=${boost.dev}"
|
||||||
|
|
|
@ -13634,7 +13634,7 @@ in
|
||||||
|
|
||||||
pythonmagick = callPackage ../applications/graphics/PythonMagick { };
|
pythonmagick = callPackage ../applications/graphics/PythonMagick { };
|
||||||
|
|
||||||
qbittorrent = callPackage ../applications/networking/p2p/qbittorrent {
|
qbittorrent = qt5.callPackage ../applications/networking/p2p/qbittorrent {
|
||||||
boost = boost;
|
boost = boost;
|
||||||
libtorrentRasterbar = libtorrentRasterbar;
|
libtorrentRasterbar = libtorrentRasterbar;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue