Loading pkgs/applications/editors/vscode/extensions/betterthantomorrow.calva/default.nix +14 −5 Original line number Diff line number Diff line { lib, clojure-lsp, jq, lib, moreutils, vscode-utils, vscode-extension-update-script, }: vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { name = "calva"; publisher = "betterthantomorrow"; version = "2.0.502"; hash = "sha256-TEU1+8IUz0GqWoB2DSE+TzyHFLL0nMSMiZyzWD6IoEA="; version = "2.0.508"; hash = "sha256-9iR42yQAW9wXcTkKeF7TuWFjm/D85V3+CbaZ8LxEu8k="; }; nativeBuildInputs = [ jq moreutils ]; postInstall = '' cd "$out/$installPrefix" jq '.contributes.configuration[0].properties."calva.clojureLspPath".default = "${clojure-lsp}/bin/clojure-lsp"' package.json | sponge package.json ''; meta = { license = lib.licenses.mit; passthru.updateScript = vscode-extension-update-script { extraArgs = [ "--override-filename" "pkgs/applications/editors/vscode/extensions/betterthantomorrow.calva/default.nix" ]; }; meta.license = lib.licenses.mit; } Loading
pkgs/applications/editors/vscode/extensions/betterthantomorrow.calva/default.nix +14 −5 Original line number Diff line number Diff line { lib, clojure-lsp, jq, lib, moreutils, vscode-utils, vscode-extension-update-script, }: vscode-utils.buildVscodeMarketplaceExtension { mktplcRef = { name = "calva"; publisher = "betterthantomorrow"; version = "2.0.502"; hash = "sha256-TEU1+8IUz0GqWoB2DSE+TzyHFLL0nMSMiZyzWD6IoEA="; version = "2.0.508"; hash = "sha256-9iR42yQAW9wXcTkKeF7TuWFjm/D85V3+CbaZ8LxEu8k="; }; nativeBuildInputs = [ jq moreutils ]; postInstall = '' cd "$out/$installPrefix" jq '.contributes.configuration[0].properties."calva.clojureLspPath".default = "${clojure-lsp}/bin/clojure-lsp"' package.json | sponge package.json ''; meta = { license = lib.licenses.mit; passthru.updateScript = vscode-extension-update-script { extraArgs = [ "--override-filename" "pkgs/applications/editors/vscode/extensions/betterthantomorrow.calva/default.nix" ]; }; meta.license = lib.licenses.mit; }