pkgs/tools: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-15 17:12:36 +07:00
parent 94f3683935
commit 8c5d37129f
916 changed files with 2510 additions and 2510 deletions
+4 -4
View File
@@ -1,4 +1,4 @@
{ fetchurl, stdenv, fetchpatch }:
{ fetchurl, lib, stdenv, fetchpatch }:
stdenv.mkDerivation rec {
name = "nss-mdns-0.10";
@@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
"--localstatedir=/var"
];
patches = stdenv.lib.optional stdenv.hostPlatform.isMusl
patches = lib.optional stdenv.hostPlatform.isMusl
(
fetchpatch
{
@@ -41,10 +41,10 @@ stdenv.mkDerivation rec {
'';
homepage = "http://0pointer.de/lennart/projects/nss-mdns/";
license = stdenv.lib.licenses.lgpl2Plus;
license = lib.licenses.lgpl2Plus;
# Supports both the GNU and FreeBSD NSS.
platforms = stdenv.lib.platforms.gnu ++ stdenv.lib.platforms.linux ++ stdenv.lib.platforms.freebsd;
platforms = lib.platforms.gnu ++ stdenv.lib.platforms.linux ++ stdenv.lib.platforms.freebsd;
maintainers = [ ];
};