From 4400f4a515a9e6156f805c50e1e5c0b71116ebec Mon Sep 17 00:00:00 2001 From: peterzky <378096232@qq.com> Date: Mon, 29 Jul 2019 13:04:36 +0800 Subject: [PATCH] qt5ct: use Qt mkDerivation --- pkgs/tools/misc/qt5ct/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/misc/qt5ct/default.nix b/pkgs/tools/misc/qt5ct/default.nix index ddd4ae5ce056..9069821fe354 100644 --- a/pkgs/tools/misc/qt5ct/default.nix +++ b/pkgs/tools/misc/qt5ct/default.nix @@ -1,8 +1,8 @@ -{ stdenv, fetchurl, qtbase, qttools, qmake }: +{ mkDerivation, lib, fetchurl, qtbase, qttools, qmake }: -let inherit (stdenv.lib) getDev; in +let inherit (lib) getDev; in -stdenv.mkDerivation rec { +mkDerivation rec { pname = "qt5ct"; version = "0.39"; @@ -25,7 +25,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with stdenv.lib; { + meta = with lib; { description = "Qt5 Configuration Tool"; homepage = https://www.opendesktop.org/content/show.php?content=168066; platforms = platforms.linux;