about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/dialog/default.nix
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-23 19:26:19 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-23 20:30:03 +0700
commitc522fec2743ffb95f2bc296f249232d73ae57dd1 (patch)
treec29207eba8c137fd2e9ff59d7186c9a4dfd0cdc4 /pkgs/development/tools/misc/dialog/default.nix
parentf6a583eeece936a1d917de67194fec4b6c74cf1f (diff)
pkgs/development/tools: stdenv.lib -> lib
Diffstat (limited to 'pkgs/development/tools/misc/dialog/default.nix')
-rw-r--r--pkgs/development/tools/misc/dialog/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/development/tools/misc/dialog/default.nix b/pkgs/development/tools/misc/dialog/default.nix
index c56620e3105e7..97db1b5b7e81f 100644
--- a/pkgs/development/tools/misc/dialog/default.nix
+++ b/pkgs/development/tools/misc/dialog/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl
+{ lib, stdenv, fetchurl
 , ncurses
 , withLibrary ? false, libtool
 , unicodeSupport ? true
@@ -24,14 +24,14 @@ stdenv.mkDerivation rec {
 
   configureFlags = [
     "--disable-rpath-hacks"
-    (stdenv.lib.withFeature withLibrary "libtool")
-    "--with-ncurses${stdenv.lib.optionalString unicodeSupport "w"}"
-    "--with-libtool-opts=${stdenv.lib.optionalString enableShared "-shared"}"
+    (lib.withFeature withLibrary "libtool")
+    "--with-ncurses${lib.optionalString unicodeSupport "w"}"
+    "--with-libtool-opts=${lib.optionalString enableShared "-shared"}"
   ];
 
-  installTargets = [ "install${stdenv.lib.optionalString withLibrary "-full"}" ];
+  installTargets = [ "install${lib.optionalString withLibrary "-full"}" ];
 
-  meta = with stdenv.lib; {
+  meta = with lib; {
     homepage = "https://invisible-island.net/dialog/dialog.html";
     description = "Display dialog boxes from shell";
     license = licenses.lgpl21Plus;