From c36bbbce14592a3b0fe53fafde98dc1123fe0be1 Mon Sep 17 00:00:00 2001 From: revol-xut Date: Fri, 15 Dec 2023 23:27:26 +0100 Subject: [PATCH 1/2] 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. From afd22064a1d4e0c972840ed8640b9ae7d562b434 Mon Sep 17 00:00:00 2001 From: Marten Lohstroh Date: Fri, 15 Dec 2023 21:31:34 -0800 Subject: [PATCH 2/2] Update installation.md Minor changes --- docs/installation.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 75573a89a..5c072bdb8 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -133,15 +133,15 @@ or for the nightly pre-release: yay -S lf-cli-nightly-bin ``` -### Nixos +### Nix and 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. +The Lingua Franca compiler 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. +to temporarily install `lfc` in your current shell environment. ### Manual Download