summary refs log tree commit diff
path: root/pkgs/applications/networking/mailreaders/notmuch
diff options
context:
space:
mode:
authorBen Siraphob <bensiraphob@gmail.com>2021-01-15 12:42:41 +0700
committerBen Siraphob <bensiraphob@gmail.com>2021-01-15 14:24:03 +0700
commit108bdac3d99b6d94d3740422af5945e510238304 (patch)
treedd91cf11f7c29bbd4542f5bdab986430025c02e2 /pkgs/applications/networking/mailreaders/notmuch
parent2e34288f0d8cf01eea228c7dbc50af9589b885f3 (diff)
downloadnixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar
nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.gz
nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.bz2
nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.lz
nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.xz
nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.tar.zst
nixpkgs-108bdac3d99b6d94d3740422af5945e510238304.zip
pkgs/applications: stdenv.lib -> lib
Diffstat (limited to 'pkgs/applications/networking/mailreaders/notmuch')
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch/default.nix8
-rw-r--r--pkgs/applications/networking/mailreaders/notmuch/muchsync.nix8
2 files changed, 8 insertions, 8 deletions
diff --git a/pkgs/applications/networking/mailreaders/notmuch/default.nix b/pkgs/applications/networking/mailreaders/notmuch/default.nix
index cc24e13810e..59c7b6bf9d4 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/default.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/default.nix
@@ -1,4 +1,4 @@
-{ fetchurl, fetchgit, stdenv
+{ fetchurl, fetchgit, lib, stdenv
 , pkgconfig, gnupg
 , xapian, gmime, talloc, zlib
 , doxygen, perl, texinfo
@@ -9,7 +9,7 @@
 , withEmacs ? true
 }:
 
-with stdenv.lib;
+with lib;
 
 stdenv.mkDerivation rec {
   version = "0.31";
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
   makeFlags = [ "V=1" ];
 
 
-  outputs = [ "out" "man" "info" ] ++ stdenv.lib.optional withEmacs "emacs";
+  outputs = [ "out" "man" "info" ] ++ lib.optional withEmacs "emacs";
 
   preCheck = let
     test-database = fetchurl {
@@ -94,7 +94,7 @@ stdenv.mkDerivation rec {
 
   installTargets = [ "install" "install-man" "install-info" ];
 
-  postInstall = stdenv.lib.optionalString withEmacs ''
+  postInstall = lib.optionalString withEmacs ''
     moveToOutput bin/notmuch-emacs-mua $emacs
   '';
 
diff --git a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
index 953cfed3c66..de248faace7 100644
--- a/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
+++ b/pkgs/applications/networking/mailreaders/notmuch/muchsync.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl
+{ lib, stdenv, fetchurl
 , notmuch, openssl, pkgconfig, sqlite, xapian, zlib
 }:
 stdenv.mkDerivation rec {
@@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
   meta = {
     description = "Synchronize maildirs and notmuch databases";
     homepage = "http://www.muchsync.org/";
-    platforms = stdenv.lib.platforms.unix;
-    maintainers = with stdenv.lib.maintainers; [];
-    license = stdenv.lib.licenses.gpl2Plus;
+    platforms = lib.platforms.unix;
+    maintainers = with lib.maintainers; [];
+    license = lib.licenses.gpl2Plus;
   };
 }