diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-01-31 06:19:43 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 06:19:43 +0000 |
commit | f92395cf3c51f3cbd60be22576160e1872bfddf9 (patch) | |
tree | 0382549f516ebf235b0c890ccc274e87b0d7f9ab /pkgs/stdenv | |
parent | 68d7178c1bd90f8528a35b8a7ccbea9cfb49a6d1 (diff) | |
parent | 3eaa544be6156f9f0156c16b2d05efe3a2c9fa46 (diff) |
Merge staging-next into staging
Diffstat (limited to 'pkgs/stdenv')
-rw-r--r-- | pkgs/stdenv/generic/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/stdenv/generic/default.nix b/pkgs/stdenv/generic/default.nix index c7c3bb9f3f3f9..52d57a6decee3 100644 --- a/pkgs/stdenv/generic/default.nix +++ b/pkgs/stdenv/generic/default.nix @@ -152,9 +152,12 @@ let inherit lib config stdenv; }) mkDerivation; - # For convenience, bring in the library functions in lib/ so - # packages don't have to do that themselves. - inherit lib; + # Slated for deprecation in 21.11 + lib = builtins.trace + ( "Warning: `stdenv.lib` is deprecated and will be removed in the next release." + + " Please use `pkgs.lib` instead." + + " For more information see https://github.com/NixOS/nixpkgs/issues/108938") + lib; inherit fetchurlBoot; |