Commit Graph

1 Commits (2d7d6e1357411787e15346c0da69aaff2a7a278a)

Author SHA1 Message Date
Elias Naur 0ec9167cd2 flake.*: add Nix support for establishing a development environment
Nix is a package system similar to Go modules for creating predictable
builds and environments. Nix builds are reproducible and a ligthweight
alternative to Docker.

This change makes the repository a Nix flake that includes a development
environment. Use it with Nix 2.4 and later with flakes enabled:

$ alias nix='nix --extra-experimental-features "nix-command flakes"'
$ nix develop

Signed-off-by: Elias Naur <mail@eliasnaur.com>
3 years ago