From 4356f5fdbdb4fb6859b015575caa5abe8f24dd86 Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 4 May 2026 16:00:33 -0400 Subject: [PATCH] added additional systems to flake --- flake.nix | 20 +++++++++++++++----- pkgs/sable.nix | 1 - 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 4aea42a..ac5c7eb 100644 --- a/flake.nix +++ b/flake.nix @@ -5,11 +5,21 @@ outputs = { self, nixpkgs }: let - system = "x86_64-linux"; - pkgs = import nixpkgs { - inherit system; - }; + systems = [ + "x86_64-linux" + "aarch64-linux" + "aarch64-darwin" + ]; in { - packages.${system}.sable = pkgs.callPackage ./pkgs/sable.nix {}; + packages = nixpkgs.lib.genAttrs systems ( + system: + let + pkgs = import nixpkgs { + inherit system; + }; + in { + sable = pkgs.callPackage ./pkgs/sable.nix {}; + } + ); }; } diff --git a/pkgs/sable.nix b/pkgs/sable.nix index 7c4a701..650db3d 100644 --- a/pkgs/sable.nix +++ b/pkgs/sable.nix @@ -37,7 +37,6 @@ in { hash = "sha256-2GwUz0jsuVKQZyeidM0F4rDzijm9AFcAxN7x/m/b3Is="; }; - # Skip rebuilding native modules since they're not needed for the web app npmInstallFlags = [ "--ignore-scripts" ];