Commit Graph

1 Commits (001c9b9c8d515247a60857a39805fb827d26ba5f)

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