pkgs/servers: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 14:24:03 +07:00
parent e245ae3c3a
commit 872973d7d1
172 changed files with 454 additions and 455 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ in stdenv.mkDerivation rec {
./relative-symlinks.patch
];
postPatch = stdenv.lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
postPatch = lib.optionalString (stdenv.hostPlatform != stdenv.buildPlatform) ''
sed -e 's!bin/postconf!${buildPackages.postfix}/bin/postconf!' -i postfix-install
'' + ''
sed -e '/^PATH=/d' -i postfix-install
+1 -1
View File
@@ -50,7 +50,7 @@ stdenv.mkDerivation {
description = "A collection of postfix-related tools";
license = with lib.licenses; [ bsd3 ];
homepage = "https://github.com/Fruneau/pfixtools";
platforms = stdenv.lib.platforms.linux;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ jerith666 ];
};
}
+3 -3
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, perlPackages }:
{ lib, stdenv, fetchurl, perlPackages }:
perlPackages.buildPerlPackage rec {
pname = "pflogsumm";
@@ -27,8 +27,8 @@ perlPackages.buildPerlPackage rec {
meta = {
homepage = "http://jimsun.linxnet.com/postfix_contrib.html";
maintainers = with stdenv.lib.maintainers; [ schneefux ];
maintainers = with lib.maintainers; [ schneefux ];
description = "Postfix activity overview";
license = stdenv.lib.licenses.gpl2Plus;
license = lib.licenses.gpl2Plus;
};
}