treewide: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-16 17:58:11 +07:00
parent a9bb54359e
commit badf51221d
977 changed files with 2613 additions and 2613 deletions
+6 -6
View File
@@ -9,7 +9,7 @@
, withDebug ? false
}:
with stdenv.lib;
with lib;
stdenv.mkDerivation rec {
pname = "znc";
@@ -31,11 +31,11 @@ stdenv.mkDerivation rec {
++ optional withZlib zlib;
configureFlags = [
(stdenv.lib.enableFeature withPerl "perl")
(stdenv.lib.enableFeature withPython "python")
(stdenv.lib.enableFeature withTcl "tcl")
(stdenv.lib.withFeatureAs withTcl "tcl" "${tcl}/lib")
(stdenv.lib.enableFeature withCyrus "cyrus")
(lib.enableFeature withPerl "perl")
(lib.enableFeature withPython "python")
(lib.enableFeature withTcl "tcl")
(lib.withFeatureAs withTcl "tcl" "${tcl}/lib")
(lib.enableFeature withCyrus "cyrus")
] ++ optional (!withIPv6) [ "--disable-ipv6" ]
++ optional withDebug [ "--enable-debug" ];
+4 -4
View File
@@ -11,7 +11,7 @@ let
buildInputs = znc.buildInputs;
meta = a.meta // { platforms = stdenv.lib.platforms.unix; };
meta = a.meta // { platforms = lib.platforms.unix; };
passthru.module_name = module_name;
});
@@ -93,7 +93,7 @@ in {
meta = {
description = "ZNC FiSH module";
homepage = "https://github.com/dctrwatson/znc-fish";
maintainers = [ stdenv.lib.maintainers.offline ];
maintainers = [ lib.maintainers.offline ];
};
};
@@ -190,8 +190,8 @@ in {
meta = {
description = "Push notification service module for ZNC";
homepage = "https://github.com/jreese/znc-push";
license = stdenv.lib.licenses.mit;
maintainers = with stdenv.lib.maintainers; [ offline schneefux ];
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ offline schneefux ];
};
};