chore(deps): add macOS SDK version 26

- Added support for macOS SDK version 26 to the list of supported SDKs.
- Reformatted flake.nix with nixfmt.
This commit is contained in:
2026-01-14 18:51:32 +00:00
parent aafac57b1d
commit 527f855fbf

View File

@@ -6,16 +6,32 @@
flake-utils.url = "github:numtide/flake-utils";
};
outputs = { self, nixpkgs, flake-utils }:
flake-utils.lib.eachDefaultSystem (system:
outputs =
{
self,
nixpkgs,
flake-utils,
}:
flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = nixpkgs.legacyPackages.${system};
# List of supported macOS SDK versions.
sdk_versions = [ "11" "12" "13" "14" "15" ];
sdk_versions = [
"11"
"12"
"13"
"14"
"15"
"26"
];
default_sdk_version = "11";
mkDevShell = { macos_version ? default_sdk_version }:
mkDevShell =
{
macos_version ? default_sdk_version,
}:
let
apple_sdk = pkgs.${"apple-sdk_${macos_version}"};
in