chore: Add nix shell for simple development setup (#3399)

* chore: Add nix shell for simple development setup

This enables contributors using Nix to set up their environment with ease.

* improve nix style, flake output schema

* fix error message

* Update scripts/build_go_slim.sh

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>

* Update scripts/build_go_slim.sh

Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>

* Add UTC default for timezone and remove unnecessary goreleaser dependency

* Skip TZ test if localtime does not exist

Co-authored-by: Charlie Moog <moogcharlie@gmail.com>
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
This commit is contained in:
Kyle Carberry
2022-08-08 10:49:12 -05:00
committed by GitHub
parent 3279504cbe
commit 9c12b4ed8e
9 changed files with 175 additions and 9 deletions

View File

@ -4,6 +4,9 @@
Coder requires Go 1.18+, Node 14+, and GNU Make.
> **Note**:
> Use [Nix](https://nix.dev/) for a one-command setup: `nix-shell`
### Development workflow
Use the following `make` commands and scripts in development: