feat(fmt): Add formatter using alejandra and format flake
This commit is contained in:
parent
c3bcb27b19
commit
f0c3c00b56
2 changed files with 17 additions and 12 deletions
nix
|
@ -1,13 +1,14 @@
|
|||
{ stdenv, lib
|
||||
, system ? builtins.currentSystem
|
||||
, fetchurl
|
||||
, unzip
|
||||
, libz
|
||||
, libcxx
|
||||
, lttng-ust_2_12
|
||||
, autoPatchelfHook
|
||||
{
|
||||
stdenv,
|
||||
lib,
|
||||
system ? builtins.currentSystem,
|
||||
fetchurl,
|
||||
unzip,
|
||||
libz,
|
||||
libcxx,
|
||||
lttng-ust_2_12,
|
||||
autoPatchelfHook,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "cpptools";
|
||||
version = "1.21.6";
|
||||
|
@ -19,7 +20,6 @@ stdenv.mkDerivation rec {
|
|||
linux-arm64 = "https://github.com/microsoft/vscode-cpptools/releases/download/v${version}/cpptools-linux-arm64.vsix";
|
||||
darwin-x64 = "https://github.com/microsoft/vscode-cpptools/releases/download/v${version}/cpptools-macos-x64.vsix";
|
||||
darwin-arm64 = "https://github.com/microsoft/vscode-cpptools/releases/download/v${version}/cpptools-macos-arm64.vsix";
|
||||
|
||||
|
||||
src = fetchurl {
|
||||
url = lib.getAttr system {
|
||||
|
@ -34,8 +34,8 @@ stdenv.mkDerivation rec {
|
|||
x86_64-darwin = "sha256-P2LacAaCRXnsGUQOLuIyvfgxweeVHsDFTrAEuN/lBIQ=";
|
||||
aarch64-darwin = "sha256-P2LacAaCRXnsGUQOLuIyvfgxweeVHsDFTrAEuN/lBIQ=";
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoPatchelfHook
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue