From c3a04d0557db8e66bd584f7830105cdc6159f81b Mon Sep 17 00:00:00 2001 From: Oscar Izquierdo <25722135+oscar-izval@users.noreply.github.com> Date: Sun, 10 Mar 2024 20:56:53 +0100 Subject: [PATCH] Add better error message --- src/modules/languages/terraform.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/languages/terraform.nix b/src/modules/languages/terraform.nix index 7ecd79f45..58ae0382c 100644 --- a/src/modules/languages/terraform.nix +++ b/src/modules/languages/terraform.nix @@ -35,7 +35,7 @@ in config = lib.mkIf cfg.enable { languages.terraform.package = lib.mkMerge [ - (lib.mkIf (cfg.version != null) (nixpkgs-terraform.packages.${pkgs.stdenv.system}.${cfg.version} or (throw "Unsupported Terraform version, see https://github.com/stackbuilders/nixpkgs-terraform for more details."))) + (lib.mkIf (cfg.version != null) (nixpkgs-terraform.packages.${pkgs.stdenv.system}.${cfg.version} or (throw "Unsupported Terraform version, see https://github.com/stackbuilders/nixpkgs-terraform/blob/main/versions.json for the full list of supported versions."))) ]; packages = with pkgs; [