From 99d66bea22046891388eea6fe306e1506093d6e6 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Sun, 7 Jan 2024 04:31:48 +0000 Subject: [PATCH] 3p/nixpkgs: use our home-assistant-chip-core --- third_party/default.nix | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/third_party/default.nix b/third_party/default.nix index 733503187a..b43d5c6838 100644 --- a/third_party/default.nix +++ b/third_party/default.nix @@ -16,7 +16,7 @@ let "python3.11-requests-2.29.0" "python3.11-cryptography-40.0.2" ]; - packageOverrides = pkgs: { + packageOverrides = pkgs: rec { factorio = pkgs.factorio.override depot.ops.secrets.factorio; factorio-experimental = pkgs.factorio-experimental.override depot.ops.secrets.factorio; ntfy = (pkgs.ntfy.override { @@ -57,6 +57,18 @@ let nixpkgs = import ./nixpkgs { inherit system; config = nixpkgsConfig; + overlays = [(final: prev: { + zcl-advanced-platform = final.callPackage ../nix/pkgs/zcl-advanced-platform { }; + home-assistant = prev.home-assistant.override { + packageOverrides = final': prev': { + home-assistant-chip = final'.callPackage ../nix/pkgs/home-assistant-chip { + gn = final.gn1924; + }; + home-assistant-chip-core = final'.home-assistant-chip.core; + home-assistant-chip-clusters = final'.home-assistant-chip.clusters; + }; + }; + })]; }; crate2nixSrc = nixpkgs.fetchFromGitHub { owner = "kolloch";