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;
extraAttrs = {
# TODO: remove this!
inherit (prevStage) glibc;
# remove before 22.11
glibc = lib.warn
( "`stdenv.glibc` is deprecated and will be removed in release 22.11."
+ " Please use `pkgs.glibc` instead.")
prevStage.glibc;
inherit bootstrapTools;
shellPackage = prevStage.bash;