about summary refs log tree commit diff
path: root/pkgs/applications/editors/vscode/update-shell.nix
diff options
context:
space:
mode:
authorAndersonTorres <torres.anderson.85@protonmail.com>2022-02-17 21:15:04 -0300
committerAndersonTorres <torres.anderson.85@protonmail.com>2022-02-18 08:25:22 -0300
commit2d98f7cff3813d46c18acfc31c6d3a53f47d8f13 (patch)
treea24d5c48a6981cdb2905c9b19efb4e8f7c0f11e1 /pkgs/applications/editors/vscode/update-shell.nix
parent8f868e154ca265e38481ab15d28429f7ff72e0e4 (diff)
vscode: update the updaters!
Now they use update-shell.nix auxiliar file.
Diffstat (limited to 'pkgs/applications/editors/vscode/update-shell.nix')
-rw-r--r--pkgs/applications/editors/vscode/update-shell.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vscode/update-shell.nix b/pkgs/applications/editors/vscode/update-shell.nix
new file mode 100644
index 0000000000000..aa9488c217f4b
--- /dev/null
+++ b/pkgs/applications/editors/vscode/update-shell.nix
@@ -0,0 +1,18 @@
+{ pkgs ? import ../../../.. { } }:
+
+# Ideally, pkgs points to default.nix file of Nixpkgs official tree
+with pkgs;
+
+mkShell {
+  packages = [
+    bash
+    curl
+    gawk
+    gnugrep
+    gnused
+    jq
+    nix
+    nix-prefetch
+    nix-prefetch-scripts
+  ];
+}