diff options
author | Pol Dellaiera <pol.dellaiera@protonmail.com> | 2024-02-26 15:32:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-26 15:32:02 +0100 |
commit | d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa (patch) | |
tree | c57c8ea68a41c51a414a81afe14a03203d741e73 /pkgs/applications/editors | |
parent | ea6cede4f1b18b606953a86961ee7a9004217c19 (diff) | |
parent | a00e878cb349df2837f4c746f61aeb5ddf4905ca (diff) | |
download | nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.tar nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.tar.gz nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.tar.bz2 nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.tar.lz nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.tar.xz nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.tar.zst nixlib-d8d07710ef1ef52cadf2cd4728ef1f9ca0de05fa.zip |
Merge pull request #291021 from Stunkymonkey/equinusocio.vsc-material-theme-34.3.1
vscode-extensions.equinusocio.vsc-material-theme: 33.8.0 -> 34.3.1
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/vscode/extensions/default.nix | 17 | ||||
-rw-r--r-- | pkgs/applications/editors/vscode/extensions/equinusocio.vsc-material-theme/default.nix | 27 |
2 files changed, 28 insertions, 16 deletions
diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index 678bd8ea4df9..677abcfe9804 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -1522,22 +1522,7 @@ let }; }; - equinusocio.vsc-material-theme = buildVscodeMarketplaceExtension { - mktplcRef = { - name = "vsc-material-theme"; - publisher = "Equinusocio"; - version = "33.8.0"; - sha256 = "sha256-+I4AUwsrElT62XNvmuAC2iBfHfjNYY0bmAqzQvfwUYM="; - }; - meta = { - changelog = "https://marketplace.visualstudio.com/items/Equinusocio.vsc-material-theme/changelog"; - description = "The most epic theme now for Visual Studio Code"; - downloadPage = "https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme"; - homepage = "https://github.com/material-theme/vsc-material-theme"; - license = lib.licenses.asl20; - maintainers = [ lib.maintainers.stunkymonkey ]; - }; - }; + equinusocio.vsc-material-theme = callPackage ./equinusocio.vsc-material-theme { }; esbenp.prettier-vscode = buildVscodeMarketplaceExtension { mktplcRef = { diff --git a/pkgs/applications/editors/vscode/extensions/equinusocio.vsc-material-theme/default.nix b/pkgs/applications/editors/vscode/extensions/equinusocio.vsc-material-theme/default.nix new file mode 100644 index 000000000000..8f2784c3704d --- /dev/null +++ b/pkgs/applications/editors/vscode/extensions/equinusocio.vsc-material-theme/default.nix @@ -0,0 +1,27 @@ +{ lib +, vscode-utils +}: + +vscode-utils.buildVscodeMarketplaceExtension { + mktplcRef = { + name = "vsc-material-theme"; + publisher = "Equinusocio"; + version = "34.3.1"; + sha256 = "sha256-3yxFTMtjJR1b4EzBDfm55HF9chrya5OUF5wN+KHEduE="; + }; + + # extensions wants to write at the /nix/store path, so we patch it to use the globalStorageUri instead. + prePatch = '' + substituteInPlace ./build/core/extension-manager.js \ + --replace-fail "path_1.posix.join(extensionFolderUri.path, env_1.USER_CONFIG_FILE_NAME)" "path_1.posix.join(ExtensionContext.globalStorageUri.fsPath, env_1.USER_CONFIG_FILE_NAME)" + ''; + + meta = with lib; { + changelog = "https://marketplace.visualstudio.com/items/Equinusocio.vsc-material-theme/changelog"; + description = "The most epic theme now for Visual Studio Code"; + downloadPage = "https://marketplace.visualstudio.com/items?itemName=Equinusocio.vsc-material-theme"; + homepage = "https://github.com/material-theme/vsc-material-theme"; + license = licenses.asl20; + maintainers = with maintainers; [ stunkymonkey ]; + }; +} |