flix / book

The Flix Programming Book
Other
14 stars 22 forks source link

Document nix as an installation option? #156

Closed rasmus-kirk closed 4 weeks ago

rasmus-kirk commented 4 weeks ago

Flix is in nixpkgs, so I suggest adding nix as an installation option to the getting started page. Something like:

## Using nix

Flix can also be installed using the nix package manager. To install for the currently running shell run:

`nix-shell -p flix`

Or alternatively to install globally:

`nix-env -i flix`

Then run `flix run` in your project directory.

I can add a PR if you wish that this be added.

magnus-madsen commented 4 weeks ago

A PR would be welcome 👍

Please put it after using Flix from the command line. Thanks!

magnus-madsen commented 4 weeks ago

Fixed in master.