From 643f56f3c82d981130e8dbcbd17a401e395eb022 Mon Sep 17 00:00:00 2001 From: ElnuDev Date: Sat, 15 Jul 2023 18:14:21 -0700 Subject: [PATCH] Add Go binary directory to PATH --- shell.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell.nix b/shell.nix index d2a7dc7..6688eae 100644 --- a/shell.nix +++ b/shell.nix @@ -5,4 +5,7 @@ pkgs.mkShell { go gopls ]; + shellHook = '' + export PATH="$HOME/go/bin:$PATH" + ''; }