Merge pull request #273416 from rowanG077/vscodes-ext/ms-cpptoools-aarch64
vscode-extensions.ms-vscode.cpptools: aarch64 support
This commit is contained in:
commit
aa0393ad25
1 changed files with 14 additions and 4 deletions
|
@ -30,14 +30,24 @@
|
||||||
|
|
||||||
let
|
let
|
||||||
gdbDefaultsTo = if gdbUseFixed then "${gdb}/bin/gdb" else "gdb";
|
gdbDefaultsTo = if gdbUseFixed then "${gdb}/bin/gdb" else "gdb";
|
||||||
|
supported = {
|
||||||
|
x86_64-linux = {
|
||||||
|
sha256 = "sha256-4mKCBqUCOndKEfsJqTIsfwEt+0CZI8QAhBj3Y4+wKlg=";
|
||||||
|
arch = "linux-x64";
|
||||||
|
};
|
||||||
|
aarch64-linux = {
|
||||||
|
sha256 = "sha256-Kjl8mEpayA1xMHEAMJ5k3Ctk3l48KlUBU5w3dL4pGWM=";
|
||||||
|
arch = "linux-arm64";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
base = supported.${stdenv.system} or (throw "unsupported platform ${stdenv.system}");
|
||||||
in
|
in
|
||||||
vscode-utils.buildVscodeMarketplaceExtension {
|
vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
mktplcRef = {
|
mktplcRef = base // {
|
||||||
name = "cpptools";
|
name = "cpptools";
|
||||||
publisher = "ms-vscode";
|
publisher = "ms-vscode";
|
||||||
version = "1.17.3";
|
version = "1.17.3";
|
||||||
sha256 = "sha256-4mKCBqUCOndKEfsJqTIsfwEt+0CZI8QAhBj3Y4+wKlg=";
|
|
||||||
arch = "linux-x64";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -85,6 +95,6 @@ vscode-utils.buildVscodeMarketplaceExtension {
|
||||||
homepage = "https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools";
|
homepage = "https://marketplace.visualstudio.com/items?itemName=ms-vscode.cpptools";
|
||||||
license = lib.licenses.unfree;
|
license = lib.licenses.unfree;
|
||||||
maintainers = [ lib.maintainers.jraygauthier lib.maintainers.stargate01 ];
|
maintainers = [ lib.maintainers.jraygauthier lib.maintainers.stargate01 ];
|
||||||
platforms = [ "x86_64-linux" ];
|
platforms = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue