From 9da6afa7810e84fb52543e4d8001a359ae42d7de Mon Sep 17 00:00:00 2001 From: revol-xut Date: Fri, 15 Dec 2023 23:27:26 +0100 Subject: [PATCH] adding nixos as an installation option --- docs/installation.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/installation.md b/docs/installation.md index 4ace33a34..75573a89a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -133,6 +133,16 @@ or for the nightly pre-release: yay -S lf-cli-nightly-bin ``` +### Nixos + +LFC is packaged in [nixpkgs](https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/compilers/lingua-franca/default.nix#L28) and is available via the binary cache. + +Run +``` + nix shell nixpkgs#lingua-franca +``` +to temporarily install lfc in your current shell environment. + ### Manual Download Regular and nightly release builds of the command line tools can be downloaded from the [Lingua Franca release page](https://github.com/lf-lang/lingua-franca/releases). Download the archive that matches your OS and architecture, and extract the contents.