Skip to content

Commit 2b7c4fb

Browse files
authored
Merge pull request lf-lang#201 from lf-lang/changes-to-installation-section
Add Nixos to Install Section
2 parents a0e3839 + afd2206 commit 2b7c4fb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/installation.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,16 @@ or for the nightly pre-release:
133133
yay -S lf-cli-nightly-bin
134134
```
135135

136+
### Nix and NixOS
137+
138+
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.
139+
140+
Run
141+
```
142+
nix shell nixpkgs#lingua-franca
143+
```
144+
to temporarily install `lfc` in your current shell environment.
145+
136146
### Manual Download
137147

138148
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.

0 commit comments

Comments
 (0)