diff options
author | Franck Cuny <franck@fcuny.net> | 2022-06-14 17:40:15 -0700 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-06-15 17:47:53 -0700 |
commit | 67dbfec7964ded6ffbc71a875eed6c771621827f (patch) | |
tree | 37cc796eeb32f4a806c82e56a603b09fd53d139e | |
parent | ref(tools/govanity): add a function to load the configuration (diff) | |
download | world-67dbfec7964ded6ffbc71a875eed6c771621827f.tar.gz |
ref(home/go): update to go version 1.18, ensure gopls
Change-Id: I7b8a48c8cfdab1bc6e9a95a999f4add1fc07ebc1 Reviewed-on: https://cl.fcuny.net/c/world/+/420 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
-rw-r--r-- | home/go/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/home/go/default.nix b/home/go/default.nix index 4cc15ef..a1a97fb 100644 --- a/home/go/default.nix +++ b/home/go/default.nix @@ -1,4 +1,4 @@ -{ lib, config, ... }: +{ lib, config, pkgs, ... }: let cfg = config.my.home.go; in { @@ -12,7 +12,9 @@ in goPath = ".local/share/pkg.go"; goBin = ".local/bin.go"; goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ]; + package = pkgs.go_1_18; }; + home.packages = with pkgs; [ gopls ]; home.sessionPath = [ config.home.sessionVariables.GOBIN ]; }; } |