pkgs/development/libraries: stdenv.lib -> lib

This commit is contained in:
Ben Siraphob
2021-01-22 00:00:13 +07:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl }:
{ lib, stdenv, fetchurl, openssl }:
stdenv.mkDerivation {
name = "mysocketw-031026";
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
buildInputs = [ openssl ];
postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
postPatch = lib.optionalString stdenv.isDarwin ''
substituteInPlace src/Makefile \
--replace -Wl,-soname, -Wl,-install_name,$out/lib/
'';
@@ -20,7 +20,7 @@ stdenv.mkDerivation {
meta = {
description = "Cross platform (Linux/FreeBSD/Unix/Win32) streaming socket C++";
license = stdenv.lib.licenses.lgpl21Plus;
platforms = stdenv.lib.platforms.all;
license = lib.licenses.lgpl21Plus;
platforms = lib.platforms.all;
};
}