Skip to content

Lightpanda: the headless browser designed for AI and automation

initial update for multi-platform

Muki Kiboigo84e4efce1c2b
diff --git a/flake.nix b/flake.nix
index edcae5fb8..d8d88e289 100644
--- a/flake.nix
+++ b/flake.nix
@@ -41,7 +41,14 @@
zon = builtins.readFile ./build.zig.zon;
version = builtins.elemAt (builtins.match ".*\\.version = \"([^\"]+)\".*" zon) 0;
in
- flake-utils.lib.eachSystem [ "x86_64-linux" ] (
+ flake-utils.lib.eachSystem
+ [
+ "x86_64-linux"
+ "aarch64-linux"
+ "x86_64-darwin"
+ "aarch64-darwin"
+ ]
+ (
system:
let
overlays = [
diff --git a/nix/package.nix b/nix/package.nix
index 79760178f..8a5a7cf70 100644
--- a/nix/package.nix
+++ b/nix/package.nix
@@ -144,6 +144,11 @@ mkZigDerivation {
homepage = "https://lightpanda.io";
license = lib.licenses.agpl3Only;
mainProgram = "lightpanda";
- platforms = [ "x86_64-linux" ];
+ platforms = [
+ "x86_64-linux"
+ "aarch64-linux"
+ "x86_64-darwin"
+ "aarch64-darwin"
+ ];
};
}