mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #145961 from SuperSandro2000/vscode-extensions
This commit is contained in:
commit
72ab57a168
1 changed files with 16 additions and 0 deletions
|
@ -1,7 +1,23 @@
|
|||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p curl jq unzip
|
||||
# shellcheck shell=bash
|
||||
set -eu -o pipefail
|
||||
|
||||
# can be added to your configuration with the following command and snippet:
|
||||
# $ ./pkgs/misc/vscode-extensions/update_installed_exts.sh > extensions.nix
|
||||
#
|
||||
# packages = with pkgs;
|
||||
# (vscode-with-extensions.override {
|
||||
# vscodeExtensions = map
|
||||
# (extension: vscode-utils.buildVscodeMarketplaceExtension {
|
||||
# mktplcRef = {
|
||||
# inherit (extension) name publisher version sha256;
|
||||
# };
|
||||
# })
|
||||
# (import ./extensions.nix).extensions;
|
||||
# })
|
||||
# ]
|
||||
|
||||
# Helper to just fail with a message and non-zero exit code.
|
||||
function fail() {
|
||||
echo "$1" >&2
|
||||
|
|
Loading…
Reference in a new issue