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

This commit is contained in:
Ben Siraphob
2021-01-23 20:30:03 +07:00
parent f6a583eeec
commit c522fec274
534 changed files with 1314 additions and 1314 deletions
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, m4, perl, help2man }:
{ lib, stdenv, fetchurl, m4, perl, help2man }:
# Note: this package is used for bootstrapping fetchurl, and thus
# cannot use fetchpatch! All mutable patches (generated by GitHub or
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
sha256 = "1qkp2rfi5njyp5c5avajab00aj74pkmkgzkvshv4p2ydkhswgazv";
};
nativeBuildInputs = [ m4 perl ] ++ stdenv.lib.optional stdenv.isSunOS help2man;
nativeBuildInputs = [ m4 perl ] ++ lib.optional stdenv.isSunOS help2man;
propagatedBuildInputs = [ m4 ];
doCheck = false; # fails
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
meta = {
homepage = "https://www.gnu.org/software/bison/";
description = "Yacc-compatible parser generator";
license = stdenv.lib.licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
longDescription = ''
Bison is a general-purpose parser generator that converts an
@@ -39,7 +39,7 @@ stdenv.mkDerivation rec {
to use Bison.
'';
platforms = stdenv.lib.platforms.unix;
platforms = lib.platforms.unix;
};
passthru = { glrSupport = true; };