From f0f11710264c326424707ad8fb4e72262ea246c8 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Tue, 6 Dec 2022 17:59:25 -0800 Subject: [PATCH] Update the install URL (#95) * Update the install URL * Add a try it section to the readme * Prune newline --- README.md | 6 ++++++ nix-install.sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cda95c5..6850bb6 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,12 @@ Harmonic is an opinionated, experimental Nix installer. +> Try it on a machine/VM you don't care about! +> +> ```bash +> curl -L https://install.determinate.systems/nix | sh -s install +> ``` + ## Status Harmonic is **pre-release and experimental**. It is not ready for you to use! *Please* don't use it on a machine you are not planning to obliterate! diff --git a/nix-install.sh b/nix-install.sh index bf34aca..79348be 100755 --- a/nix-install.sh +++ b/nix-install.sh @@ -22,7 +22,7 @@ fi set -u # If NIX_INSTALL_UPDATE_ROOT is unset or empty, default it. -NIX_INSTALL_UPDATE_ROOT="${NIX_INSTALL_UPDATE_ROOT:-https://install.determinate.systems}" +NIX_INSTALL_UPDATE_ROOT="${NIX_INSTALL_UPDATE_ROOT:-https://install.determinate.systems/nix}" main() { downloader --check