summary refs log tree commit diff
path: root/pkgs/applications/editors/vim/plugins/update-shell.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/vim/plugins/update-shell.nix')
-rw-r--r--pkgs/applications/editors/vim/plugins/update-shell.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/plugins/update-shell.nix b/pkgs/applications/editors/vim/plugins/update-shell.nix
new file mode 100644
index 00000000000..52a9e741af2
--- /dev/null
+++ b/pkgs/applications/editors/vim/plugins/update-shell.nix
@@ -0,0 +1,16 @@
+{ pkgs ? import ../../../../.. { } }:
+
+# Ideally, pkgs points to default.nix file of Nixpkgs official tree
+with pkgs;
+let
+  pyEnv = python3.withPackages (ps: [ ps.GitPython ]);
+in
+
+mkShell {
+  packages = [
+    bash
+    pyEnv
+    nix
+    nix-prefetch-scripts
+  ];
+}