stdenv: warn about use of stdenv.glibc

TODO was added in
119920faa6
This commit is contained in:
Artturin 2022-05-10 23:38:30 +03:00
parent c8f971681e
commit a05b581783

View file

@ -398,8 +398,11 @@ in
inherit (prevStage.stdenv) fetchurlBoot; inherit (prevStage.stdenv) fetchurlBoot;
extraAttrs = { extraAttrs = {
# TODO: remove this! # remove before 22.11
inherit (prevStage) glibc; glibc = lib.warn
( "`stdenv.glibc` is deprecated and will be removed in release 22.11."
+ " Please use `pkgs.glibc` instead.")
prevStage.glibc;
inherit bootstrapTools; inherit bootstrapTools;
shellPackage = prevStage.bash; shellPackage = prevStage.bash;