Skip to content

chore: Add nix shell for simple development setup #3399

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Aug 8, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add UTC default for timezone and remove unnecessary goreleaser depend…
…ency
  • Loading branch information
kylecarbs committed Aug 8, 2022
commit 44503c6a706bc419f615b7106017828cdb7127f9
1 change: 0 additions & 1 deletion .envrc

This file was deleted.

3 changes: 2 additions & 1 deletion coderd/util/tz/tz_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ func TimezoneIANA() (*time.Location, error) {
location = strings.Replace(location, zoneInfoPath, "", -1)
location = strings.TrimPrefix(location, string(filepath.Separator))
} else {
location, _ = time.Now().Zone()
// Go's local time parsing implementation defaults to UTC if none is set!
location = "UTC"
}
loc, err = time.LoadLocation(location)
if err != nil {
Expand Down
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
go_1_19
golangci-lint
gopls
goreleaser
gotestsum
helm
jq
Expand Down