Last active
February 17, 2023 12:25
-
-
Save itzurabhi/9e5941815b77f196eb792ed4c035a134 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
let | |
goVersion = "1.19"; | |
in | |
mkShell { | |
buildInputs = [ | |
go_${goVersion} | |
golint | |
gofmt | |
godoc | |
protobuf | |
protoc-gen-go | |
nodejs | |
npm | |
]; | |
postBuild = '' | |
# Run `go install` to install the `sqlc` tool | |
go install github.com/kyleconroy/sqlc/cmd/sqlc | |
''; | |
} | |
# nix-shell go-node-shell.nix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment