From b90266525c2734489e9168062c62b0a91cdac665 Mon Sep 17 00:00:00 2001 From: hanna Date: Sun, 24 May 2026 20:21:32 -0400 Subject: [PATCH] build: add zig overlay to parameters for cache --- flake.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 8134c9e..1b6d85b 100644 --- a/flake.nix +++ b/flake.nix @@ -12,9 +12,12 @@ outputs = { self, nixpkgs, utils, zig-overlay }: utils.lib.eachDefaultSystem(system: let - pkgs = import nixpkgs { inherit system; }; - cache = import ./nix/cache.nix { inherit pkgs; }; zig = zig-overlay.packages.${system}; + pkgs = import nixpkgs { inherit system; }; + cache = import ./nix/cache.nix { + inherit pkgs; + inherit zig; + }; in { devshells.default = pkgs.mkShell { nativeBuildInputs = [ zig."0.15.1" pkgs.zls ]; -- 2.51.2