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 @@
{ stdenv, fetchurl
{ lib, stdenv, fetchurl
, coreutils
}:
@@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
patches = [ ./no-install-statedir.patch ]
# fix gnulib tests on 32-bit ARM. Included on findutils master.
# https://lists.gnu.org/r/bug-gnulib/2020-08/msg00225.html
++ stdenv.lib.optional stdenv.hostPlatform.isAarch32 ./fix-gnulib-tests-arm.patch;
++ lib.optional stdenv.hostPlatform.isAarch32 ./fix-gnulib-tests-arm.patch;
buildInputs = [ coreutils ]; # bin/updatedb script needs to call sort
@@ -64,8 +64,8 @@ stdenv.mkDerivation rec {
* xargs - build and execute command lines from standard input.
'';
platforms = stdenv.lib.platforms.all;
platforms = lib.platforms.all;
license = stdenv.lib.licenses.gpl3Plus;
license = lib.licenses.gpl3Plus;
};
}