Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
31 lines
1.0 KiB
Nix
31 lines
1.0 KiB
Nix
{
|
|
lib,
|
|
vscode-utils,
|
|
jq,
|
|
akkuPackages,
|
|
chez,
|
|
akku,
|
|
moreutils,
|
|
}:
|
|
|
|
vscode-utils.buildVscodeMarketplaceExtension {
|
|
mktplcRef = {
|
|
publisher = "ufo5260987423";
|
|
name = "magic-scheme";
|
|
version = "0.0.6";
|
|
hash = "sha256-ibEdsw/ulr+cagB90uALDbSsQV18dPULANCdnjPvhuI=";
|
|
};
|
|
|
|
postInstall = ''
|
|
cd "$out/$installPrefix"
|
|
${lib.getExe jq} '.contributes.configuration.properties."magicScheme.scheme-langserver.serverPath".default = "${lib.getExe' akkuPackages.scheme-langserver "scheme-langserver"}" | .contributes.configuration.properties."magicScheme.scheme.path".default = "${lib.getExe' chez "scheme"}" | .contributes.configuration.properties."magicScheme.akku.path".default = "${lib.getExe akku}"' package.json | ${lib.getExe' moreutils "sponge"} package.json
|
|
'';
|
|
|
|
meta = {
|
|
description = "Adds support for Scheme(r6rs standard)";
|
|
downloadPage = "https://marketplace.visualstudio.com/items?itemName=ufo5260987423.magic-scheme";
|
|
homepage = "https://github.com/ufo5260987423/magic-scheme";
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|