I showed you my source code, pls respond
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.

19 lines
357 B

3 years ago
  1. # This file is controlled by /etc/dotfiles/README.org
  2. { pkgs ? import <nixpkgs> { } }:
  3. with pkgs;
  4. mkShell {
  5. buildInputs = [
  6. go
  7. gopls
  8. # FIXME: Broken on nixpkgs/unstable.
  9. # protoc-gen-go
  10. # protoc-gen-go-grpc
  11. ];
  12. shellHook = ''
  13. export GO111MODULE=on
  14. export GOPATH=$XDG_DATA_HOME/go
  15. export PATH=$GOPATH/bin:$PATH
  16. '';
  17. }