From b654502b2bb0026cdfd4d9cecdd5656745866c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 31 May 2022 10:04:09 +0200 Subject: [PATCH] terraform-providers: also include name in error messages --- .../networking/cluster/terraform-providers/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/networking/cluster/terraform-providers/default.nix b/pkgs/applications/networking/cluster/terraform-providers/default.nix index 9af916e855c8..e557e07885bd 100644 --- a/pkgs/applications/networking/cluster/terraform-providers/default.nix +++ b/pkgs/applications/networking/cluster/terraform-providers/default.nix @@ -66,13 +66,13 @@ let # Put all the providers we not longer support in this list. removed-providers = let - archived = date: throw "the provider has been archived by upstream on ${date}"; - removed = date: throw "removed from nixpkgs on ${date}"; + archived = name: date: throw "the ${name} terraform provider has been archived by upstream on ${date}"; + removed = name: date: throw "the ${name} terraform provider removed from nixpkgs on ${date}"; in lib.optionalAttrs config.allowAliases { - opc = archived "2022/05"; - oraclepaas = archived "2022/05"; - template = archived "2022/05"; + opc = archived "opc" "2022/05"; + oraclepaas = archived "oraclepaas" "2022/05"; + template = archived "template" "2022/05"; }; # excluding aliases, used by terraform-full