From 8fa1348d7e93be33a2be4f5efdd19d305c9db5b2 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Thu, 20 Oct 2022 09:38:03 +0200 Subject: [PATCH 1/2] Use the new ihp-new package from nixpkgs for install instructions in the docs --- Guide/installation.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Guide/installation.markdown b/Guide/installation.markdown index 2499d2fe4..04d965af2 100644 --- a/Guide/installation.markdown +++ b/Guide/installation.markdown @@ -116,6 +116,15 @@ Note that nix can gradually grow to use several GB of disk space, especially aft You can now install IHP by running: +```bash +nix-env --install ihp-new +``` + + +#### Package not Found? + +The package has only been added to nixpkgs recently. In case you're using an older nixpkgs version, the package might not be available yet. In that case you can install `ihp-new` like this: + ```bash nix-env -f https://downloads.digitallyinduced.com/ihp-new.tar.gz -i ihp-new ``` From c43b6254e0225225d29a7bbc5e32166f7cfbf505 Mon Sep 17 00:00:00 2001 From: Marc Scholten Date: Fri, 21 Oct 2022 15:25:51 +0200 Subject: [PATCH 2/2] Added note on Home Manager and NixOS for ihp-new --- Guide/installation.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/Guide/installation.markdown b/Guide/installation.markdown index 04d965af2..e2919df60 100644 --- a/Guide/installation.markdown +++ b/Guide/installation.markdown @@ -120,6 +120,7 @@ You can now install IHP by running: nix-env --install ihp-new ``` +If you use Home Manager or NixOS, you can also add `ihp-new` to the list of packages. #### Package not Found?