From 97330ac621ba1d134a90fec64944a1967f691086 Mon Sep 17 00:00:00 2001 From: Pascal Bach Date: Wed, 27 Sep 2017 22:37:43 +0200 Subject: [PATCH] Add instruction on how to install restic using Nix --- doc/installation.rst | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/installation.rst b/doc/installation.rst index e3ac655a4..84bc04b6d 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -15,15 +15,26 @@ If you are using Mac OS X, you can install restic using the $ brew tap restic/restic $ brew install restic -archlinux -~~~~~~~~~ +Arch Linux +~~~~~~~~~~ -On archlinux, there is a package called ``restic-git`` which can be +On `Arch Linux `__, there is a package called ``restic-git`` which can be installed from AUR, e.g. with ``pacaur``: .. code-block:: console $ pacaur -S restic-git + +Nix & NixOS +~~~~~~~~~~~ + +If you are using `Nix `__ or `NixOS `__ +there is a package available named ``restic``. +It can be installed uisng `nix-env`: + +.. code-block:: console + + $ nix-env --install restic Pre-compiled Binary -------------------