First window rendered, sdl here I come

This commit is contained in:
2024-12-30 09:26:12 -07:00
commit 834dad44ee
11 changed files with 424 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
{
description = "Zig flake with ZLS";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.zlsPkg.url = "path:./nix/zls";
outputs = {
flake-utils,
nixpkgs,
zlsPkg,
...
}:
flake-utils.lib.eachDefaultSystem (system: let
pkgs = import nixpkgs {
inherit system;
};
zls = zlsPkg.defaultPackage.${system};
in {
devShell = pkgs.mkShell {
buildInputs = with pkgs; [
lldb
SDL2
zig
zls
];
};
});
}