build: Updated to latest available Odin package.

This commit is contained in:
Spencer Brower
2026-07-20 12:52:46 -04:00
parent 770a04481d
commit 5d8f646b31
3 changed files with 9 additions and 9 deletions
Generated
+3 -3
View File
@@ -51,11 +51,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1783475452,
"narHash": "sha256-3S92fSuv32mjJz2Qb2F4405c21J55F4NIphz5K6hxco=",
"lastModified": 1784525419,
"narHash": "sha256-yocJ4I4Kd4as0UPMFs9P7laPvvA2x/Bj8EW46iW3VVM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "05988b07fb05cbcb50be6bce197b4b5f75b5e61b",
"rev": "a16c3fde2ffeab7f6326f50f460aaffde7ae066d",
"type": "github"
},
"original": {
+5 -5
View File
@@ -62,6 +62,8 @@
pkgs.tree-sitter-grammars.tree-sitter-html.src;
css-grammar = mkGrammarStaticLib "tree-sitter-css"
pkgs.tree-sitter-grammars.tree-sitter-css.src;
odin = pkgs.unstable.odin;
ols = pkgs.unstable.ols;
in
{
_module.args.pkgs = import nixpkgs {
@@ -108,7 +110,7 @@
src = ./.;
nativeBuildInputs = [
pkgs.odin
odin
pkgs.pkg-config
];
@@ -143,9 +145,7 @@
};
devShells.default = pkgs.mkShell {
buildInputs = with pkgs; [
odin
ols
buildInputs = [odin ols ] ++ (with pkgs; [
cmark
tree-sitter
@@ -153,7 +153,7 @@
unstable.helix
typescript-language-server
vscode-langservers-extracted
];
]);
shellHook = ''
export LIBRARY_PATH="${html-grammar}/lib:${css-grammar}/lib:$LIBRARY_PATH"
+1 -1
View File
@@ -70,7 +70,7 @@ Flags :: struct {
}
init_site :: proc(site: ^Site, args: []string) {
mem.dynamic_arena_init(&site.arena, alignment = 64)
mem.dynamic_arena_init(&site.arena)
alloc := site_allocator(site)
// Set defaults