aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2021-04-23 17:59:54 +0200
committerGitHub <noreply@github.com>2021-04-23 17:59:54 +0200
commit470373386cf33c3c7359d15a44d82d2d84a7c065 (patch)
treed989186957749135f72a708ba4f1489cb116c5e4 /README.md
parentc203a5f626ba635ab3e4c5e9c3a9f79e44503a6e (diff)
parent86ca002b4eda27cac76c6bdc87dc7cef9a970aa3 (diff)
downloadopenrussian-cli-470373386cf33c3c7359d15a44d82d2d84a7c065.tar.gz
Merge pull request #2 from vs49688/master
Remove NixOS files and update README
Diffstat (limited to 'README.md')
-rw-r--r--README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 01ff0c6..31b49b5 100644
--- a/README.md
+++ b/README.md
@@ -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