From 62afef6e3cab58a3d9e3c51a1d528251d0936f82 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Wed, 10 Jan 2024 12:55:56 -0800 Subject: [PATCH] fixup uninstall tag links (#812) We tag with a leading `v`, but the messages did not have this. --- src/cli/subcommand/uninstall.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/subcommand/uninstall.rs b/src/cli/subcommand/uninstall.rs index fcbcc90..158fa0d 100644 --- a/src/cli/subcommand/uninstall.rs +++ b/src/cli/subcommand/uninstall.rs @@ -129,7 +129,7 @@ impl CommandExecute for Uninstall { format!( "\ Unable to parse plan, this plan was created by `nix-installer` version `{plan_version}`, this is `nix-installer` version `{current_version}`\n\ - To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/{plan_version} | sh -s -- uninstall`\ + To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v{plan_version} | sh -s -- uninstall`\ ").red().to_string() }); }, @@ -147,7 +147,7 @@ impl CommandExecute for Uninstall { \n\ Found existing plan in `{RECEIPT_LOCATION}` which was created by a version incompatible `nix-installer`.\n\ \n - To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/${version} | sh -s -- uninstall`\n\ + To uninstall, either run `/nix/nix-installer uninstall` or `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix/tag/v${version} | sh -s -- uninstall`\n\ \n\ ").red() );