diff options
-rw-r--r-- | flake.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/flake.nix b/flake.nix index 88cc5fd..547b82e 100644 --- a/flake.nix +++ b/flake.nix @@ -4,9 +4,12 @@ }; outputs = { self, nixpkgs, ... }: let - pkgs = import nixpkgs { + pkgs_aarch64 = import nixpkgs { system = "aarch64-darwin"; }; + pkgs_x86 = import nixpkgs { + system = "x86_64-linux"; + }; packageVersions = { # Wyze Cam Outdoor v1 Firmware @@ -72,7 +75,15 @@ packages."aarch64-darwin" = nixpkgs.lib.mapAttrs (name: attrs: import ./wyze.nix { - inherit pkgs; + inherit pkgs_x86; + inherit attrs; + } + ) packageVersions; + + packages."x86_64-linux" = nixpkgs.lib.mapAttrs + (name: attrs: + import ./wyze.nix { + inherit pkgs_aarch64; inherit attrs; } ) packageVersions; |