From b5f7cc315b3d1f9f75d2f19af3e7a3e694164de9 Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Fri, 28 Jul 2017 17:00:04 +0100 Subject: README.md: add NixOS (#694) --- README.md | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 26e97b26..b539f911 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,11 @@ built from source. ## Installation Instructions are provided for macOS and many Linux variants to compile Alacritty -from source. With the exception of Arch (which has a package in the AUR), please -first read the [prerequisites](#prerequisites) section, then find the section -for your OS, and finally go to [building](#building) and -[configuration](#configuration). +from source. With the exception of Arch (which has a package in the AUR) and +[NixOS](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/misc/alacritty/default.nix) +(at the moment in unstable, will be part of 17.09), please first read the +[prerequisites](#prerequisites) section, then find the section for your OS, and +finally go to [building](#building) and [configuration](#configuration). ### Arch Linux @@ -50,6 +51,7 @@ cd alacritty-git makepkg -isr ``` + ## Manual Installation ### Prerequisites @@ -148,6 +150,14 @@ to be missing, please open an issue. sudo eopkg install freetype2-devel fontconfig-devel ``` +### NixOS/Nixpkgs + +The following command can be used to get a shell with all development dependencies on [NixOS](https://nixos.org). + +``` +nix-shell -A alacritty '' +``` + #### Other If you build Alacritty on another distribution, we would love some help -- cgit