Commit Graph

1 Commits (d9fd534664d685a6f5b1df9563fb40c3b8ea0c92)

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