You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
311 B
17 lines
311 B
# This file is controlled by /etc/dotfiles/README.org
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
with pkgs;
|
|
mkShell {
|
|
buildInputs = [
|
|
go
|
|
gopls
|
|
protoc-gen-go
|
|
protoc-gen-go-grpc
|
|
];
|
|
shellHook = ''
|
|
export GO111MODULE=on
|
|
export GOPATH=$XDG_DATA_HOME/go
|
|
export PATH=$GOPATH/bin:$PATH
|
|
'';
|
|
}
|