stdenv/generic: recommend lib instead of pkgs.lib in place of stdenv.lib
This commit is contained in:
parent
1bc082c26d
commit
4da3c5ab1e
1 changed files with 2 additions and 2 deletions
|
@ -155,9 +155,9 @@ let
|
|||
# Slated for removal in 21.11
|
||||
lib = if config.allowAliases or true then builtins.trace
|
||||
( "Warning: `stdenv.lib` is deprecated and will be removed in the next release."
|
||||
+ " Please use `pkgs.lib` instead."
|
||||
+ " Please use `lib` instead."
|
||||
+ " For more information see https://github.com/NixOS/nixpkgs/issues/108938")
|
||||
lib else throw "`stdenv.lib` is a deprecated alias for `pkgs.lib`";
|
||||
lib else throw "`stdenv.lib` is a deprecated alias for `lib`";
|
||||
|
||||
inherit fetchurlBoot;
|
||||
|
||||
|
|
Loading…
Reference in a new issue