vscode: update the updaters!

Now they use update-shell.nix auxiliar file.
main
AndersonTorres 2 years ago
parent 8f868e154c
commit 2d98f7cff3
  1. 8
      pkgs/applications/editors/vscode/extensions/vscode-lldb/update.sh
  2. 18
      pkgs/applications/editors/vscode/update-shell.nix
  3. 4
      pkgs/applications/editors/vscode/update-vscode.sh
  4. 4
      pkgs/applications/editors/vscode/update-vscodium.sh

@ -1,5 +1,6 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p jq nix-prefetch
#! /usr/bin/env nix-shell
#! nix-shell ../../update-shell.nix -i bash
set -eo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
if [[ $# -ne 1 ]]; then
@ -12,7 +13,8 @@ FIXME: This script doesn't update patched lldb. Please manually check branches
of https://github.com/vadimcn/llvm-project and update lldb with correct version of LLVM.
"
nixpkgs=../../../..
# Ideally, nixpkgs points to default.nix file of Nixpkgs official tree
nixpkgs=../../../../../..
nixFile=./default.nix
owner=vadimcn
repo=vscode-lldb

@ -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
];
}

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl jq gnused
#! /usr/bin/env nix-shell
#! nix-shell update-shell.nix -i bash
# Update script for the vscode versions and hashes.
# Usually doesn't need to be called by hand,

@ -1,5 +1,5 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p curl gnugrep gnused gawk
#! /usr/bin/env nix-shell
#! nix-shell update-shell.nix -i bash
# Update script for the vscode versions and hashes.
# Usually doesn't need to be called by hand,

Loading…
Cancel
Save