-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathdefault.nix
40 lines (36 loc) · 1.26 KB
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{ pkgs }:
let
inherit (pkgs) callPackage lib;
in
{
# Each extension may have several fixes that depend on the extension version.
#
# Fixes MUST be provided in the subdirectories of the ./extensions directory.
#
# A fix that works for versions up to `<version>`
# of the extension `<name>` published by `<publisher>`
# MUST be in the directory `./extensions/<publisher>/<name>/<version>`
#
# Each `${publisher}.${name}` in this file (`extensions/default.nix`) MUST provide
# a function that produces an extension derivation.
#
# ```
# { pkgs, lib, mktplcRef, vsix, buildVscodeMarketplaceExtension } -> Derivation
# ```
#
# You may use less available attributes available in the function argument attrset.
#
# ```
# { mktplcRef, ... } -> Derivation
# ```
ms-vsliveshare.vsliveshare = callPackage ./ms-vsliveshare/vsliveshare/latest;
rust-lang.rust-analyzer = callPackage ./rust-lang/rust-analyzer/latest;
sumneko.lua = callPackage ./sumneko/lua/latest;
vadimcn.vscode-lldb =
config@{ mktplcRef, ... }:
if lib.versionAtLeast mktplcRef.version "1.11.0" then
# https://github.com/NixOS/nixpkgs/pull/383013
callPackage ./vadimcn/vscode-lldb/latest config
else
callPackage ./vadimcn/vscode-lldb/1.10.0 config;
}