mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-17 01:24:47 +00:00
vscode: update the updaters!
Now they use update-shell.nix auxiliar file.
This commit is contained in:
parent
8f868e154c
commit
2d98f7cff3
@ -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
|
||||
|
18
pkgs/applications/editors/vscode/update-shell.nix
Normal file
18
pkgs/applications/editors/vscode/update-shell.nix
Normal file
@ -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…
Reference in New Issue
Block a user