stdenv/generic: recommend lib instead of pkgs.lib in place of stdenv.lib
commit4da3c5ab1eefa441d202cfecd36ac4dcd747d3d8
authorBen Siraphob <bensiraphob@gmail.com>
dateThu 11 Feb 2021, 11:34 (6 years ago)
parent1bc082c
pkgs/stdenv/generic/default.nix+2−2
@@ -155,9 +155,9 @@ let
155155 # Slated for removal in 21.11
156156 lib = if config.allowAliases or true then builtins.trace
157157 ( "Warning: `stdenv.lib` is deprecated and will be removed in the next release."
158− + " Please use `pkgs.lib` instead."
158+ + " Please use `lib` instead."
159159 + " For more information see https://github.com/NixOS/nixpkgs/issues/108938")
160− lib else throw "`stdenv.lib` is a deprecated alias for `pkgs.lib`";
160+ lib else throw "`stdenv.lib` is a deprecated alias for `lib`";
161161
162162 inherit fetchurlBoot;
163163