From d81a46364fb06155eb6186d8c75663a7eb2721f0 Mon Sep 17 00:00:00 2001 From: Sam Willis Date: Thu, 8 Aug 2019 20:33:45 +0100 Subject: [PATCH] qbittorrent: use qt5's mkDerivation Fixes #66339 See: #65399 --- pkgs/applications/networking/p2p/qbittorrent/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/networking/p2p/qbittorrent/default.nix b/pkgs/applications/networking/p2p/qbittorrent/default.nix index 9d2ac8ed384..7ffd79edba4 100644 --- a/pkgs/applications/networking/p2p/qbittorrent/default.nix +++ b/pkgs/applications/networking/p2p/qbittorrent/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, pkgconfig +{ mkDerivation, lib, fetchFromGitHub, pkgconfig , boost, libtorrentRasterbar, qtbase, qttools, qtsvg , debugSupport ? false # Debugging , guiSupport ? true, dbus ? null # GUI (disable to run headless) @@ -6,9 +6,9 @@ }: assert guiSupport -> (dbus != null); -with stdenv.lib; +with lib; -stdenv.mkDerivation rec { +mkDerivation rec { name = "qbittorrent-${version}"; version = "4.1.7";