diff options
author | Zane van Iperen <zane@zanevaniperen.com> | 2021-04-23 21:05:47 +1000 |
---|---|---|
committer | Zane van Iperen <zane@zanevaniperen.com> | 2021-04-23 21:05:47 +1000 |
commit | 86ca002b4eda27cac76c6bdc87dc7cef9a970aa3 (patch) | |
tree | d989186957749135f72a708ba4f1489cb116c5e4 /README.md | |
parent | 919498223ab63b83b1fa9246df0562510660c161 (diff) | |
download | openrussian-cli-86ca002b4eda27cac76c6bdc87dc7cef9a970aa3.tar.gz |
README: add NixOS installation instructions
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -39,6 +39,8 @@ Possible future features: ## Installation +### Ubuntu + Build-time dependencies: sudo apt-get install make pkg-config lua5.2 bash-completion wget unzip gawk sqlite3 @@ -70,6 +72,22 @@ If it returns lots of errors, you should probably stay with the original databas Otherwise, the error messages might help in fixing/upgrading the script. You are of course welcome to contribute patches. :-) +### NixOS + +`openrussian-cli` is part of the `nixos-unstable` (and soon `nixos-21.05`) channels. + +To install `openrussian-cli` on NixOS: +* Via `configuration.nix`: + ```nix + environment.systemPackages = [ pkgs.openrussian-cli ]; + ``` +* Via `nix-env`: + ```bash + nix-env -iA openrussian-cli + ``` + +See https://nixos.org/manual/nixos/stable/index.html#sec-package-management for more information. + ### Bash Aliases While the default command name `openrussian` was chosen to avoid cluttering the |