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

This commit is contained in:
Ben Siraphob
2021-01-21 19:11:02 -08:00
committed by Jonathan Ringer
parent 046d24424e
commit 66e44425c6
1770 changed files with 4913 additions and 4912 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, gmp }:
{ lib, stdenv, fetchurl, gmp }:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -23,8 +23,8 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ gmp ];
configureFlags =
stdenv.lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++
stdenv.lib.optional stdenv.hostPlatform.is64bit "--with-pic";
lib.optional stdenv.hostPlatform.isSunOS "--disable-thread-safe" ++
lib.optional stdenv.hostPlatform.is64bit "--with-pic";
doCheck = true; # not cross;
@@ -46,9 +46,9 @@ stdenv.mkDerivation rec {
floating-point arithmetic (53-bit mantissa).
'';
license = stdenv.lib.licenses.lgpl2Plus;
license = lib.licenses.lgpl2Plus;
maintainers = [ ];
platforms = stdenv.lib.platforms.all;
platforms = lib.platforms.all;
};
}