diff --git a/flake.lock b/flake.lock index ee0aa5a..12e684c 100644 --- a/flake.lock +++ b/flake.lock @@ -86,11 +86,11 @@ }, "locked": { "dir": "contrib", - "lastModified": 1674622432, - "narHash": "sha256-S8KhHA56Bc+ZRuj1VU2C2yTxxnLP+G5TtyWElPH8eEA=", + "lastModified": 1674657565, + "narHash": "sha256-mjv2S/tphnE/UATC3wny7rUUacvUGrslu22J2EHLljc=", "owner": "neovim", "repo": "neovim", - "rev": "06d1e86ff8e7814e4a648293c1a90414fe82bb1e", + "rev": "3c48d3c83fc21dbc0841f9210f04bdb073d73cd1", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index a3eb603..72d9ac8 100644 --- a/flake.nix +++ b/flake.nix @@ -57,6 +57,19 @@ pkgs.gopls pkgs.golint ]; + + buildInputs = with pkgs; [ + # we need a version of bash capable of being interactive + # as opposed to a bash just used for building this flake + # in non-interactive mode + bashInteractive + ]; + + shellHook = '' + # once we set SHELL to point to the interactive bash, neovim will + # launch the correct $SHELL in its :terminal + export SHELL=${pkgs.bashInteractive}/bin/bash + ''; }; # For compatibility with older versions of the `nix` binary