diff options
| author | Artturin <Artturin@artturin.com> | 2022-05-10 23:38:30 +0300 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-05-27 15:01:54 +0000 |
| commit | e2457ce8bb8a4661768982dcf0313132771067a0 (patch) | |
| tree | c881a64884478d16e623cbae620b289b1f681c26 | |
| parent | Merge pull request #174602 from NixOS/backport-174222-to-release-22.05 (diff) | |
| download | nixpkgs-e2457ce8bb8a4661768982dcf0313132771067a0.tar.gz | |
stdenv: warn about use of stdenv.glibc
TODO was added in
https://github.com/NixOS/nixpkgs/pull/34645/commits/119920faa6717f8075e0ea44553203171a71f9ea
(cherry picked from commit a05b5817834f553f8eae560c58fed02a59af42b9)
| -rw-r--r-- | pkgs/stdenv/linux/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/stdenv/linux/default.nix b/pkgs/stdenv/linux/default.nix index 5c5ca64b1e95..8f8c902e4db5 100644 --- a/pkgs/stdenv/linux/default.nix +++ b/pkgs/stdenv/linux/default.nix @@ -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; |
