From 67dbfec7964ded6ffbc71a875eed6c771621827f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 14 Jun 2022 17:40:15 -0700 Subject: 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 --- home/go/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'home/go') 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 ]; }; } -- cgit 1.4.1