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
+1 -1
View File
@@ -16,7 +16,7 @@
assert (doCheck && stdenv.isLinux) -> glibcLocales != null;
let
inherit (stdenv.lib) optional;
inherit (lib) optional;
in
stdenv.mkDerivation rec {
name = "gawk-5.1.0";
+2 -2
View File
@@ -4,7 +4,7 @@
, expat, tre, makeWrapper }:
let
buildExtension = stdenv.lib.makeOverridable
buildExtension = lib.makeOverridable
({ name, gawkextlib, extraBuildInputs ? [ ], doCheck ? true }:
let is_extension = !isNull gawkextlib;
in stdenv.mkDerivation rec {
@@ -32,7 +32,7 @@ let
];
buildInputs = [ gawk ] ++ extraBuildInputs;
propagatedBuildInputs = stdenv.lib.optional is_extension gawkextlib;
propagatedBuildInputs = lib.optional is_extension gawkextlib;
setupHook = if is_extension then ./setup-hook.sh else null;
inherit gawk;