dotfiles/README.md
Nikos Papadakis 4bc159d698
chore: switch to nix for development (closes #2)
This commit add nix support for development shells. The developer can
use `nix develop` to setup a complete and reproducable devleopment
environment using Nix.
2023-09-30 21:06:56 +03:00

947 B

Prymn

status-badge

Development

Nix

The best way to setup your development environment is with Nix. As a pre-requisite, you need to install Nix and enable the experimental features nix-command and flakes.

After installation,

  • Clone the repo: git clone git@git.nikos.gg:prymn/prymn.git && cd prymn
  • Run nix develop or nix develop -c $SHELL to use your shell
  • Optionally, install rust-analyzer
    • With nix: nix profile install nixpkgs#rust-analyzer

Manual

Alternatively, you can install all the dependencies manually. Here's a (maybe incomplete) list of packages to install:

  • gcc
  • inotify-tools
  • Elixir (v1.16)
  • Erlang (OTP 26)
  • protobuf
  • protoc-gen-elixir (via mix escript.install hex protobuf)
  • Rust stable toolchain (v1.72)