mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 15:14:08 +00:00
fixed nvim term in flake
This commit is contained in:
parent
f03bc21251
commit
734b17377f
2 changed files with 16 additions and 3 deletions
6
flake.lock
generated
6
flake.lock
generated
|
@ -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": {
|
||||
|
|
13
flake.nix
13
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
|
||||
|
|
Loading…
Add table
Reference in a new issue