summary refs log tree commit diff
diff options
context:
space:
mode:
authorpeterzky <378096232@qq.com>2019-07-29 13:04:36 +0800
committerpeterzky <378096232@qq.com>2019-07-29 13:04:36 +0800
commit4400f4a515a9e6156f805c50e1e5c0b71116ebec (patch)
tree843770addf2ccc9df1387b9147832b40b1398a8c
parent9a7492665bad0a6bc772e855634742ba2626801a (diff)
downloadnixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.tar
nixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.tar.gz
nixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.tar.bz2
nixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.tar.lz
nixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.tar.xz
nixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.tar.zst
nixpkgs-4400f4a515a9e6156f805c50e1e5c0b71116ebec.zip
qt5ct: use Qt mkDerivation
-rw-r--r--pkgs/tools/misc/qt5ct/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/misc/qt5ct/default.nix b/pkgs/tools/misc/qt5ct/default.nix
index ddd4ae5ce05..9069821fe35 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;