From 6aadea1155f91789ae81dc1933a851d91dc5b8ac Mon Sep 17 00:00:00 2001 From: Vinzenz Schroeter Date: Fri, 6 Jun 2025 18:50:28 +0200 Subject: [PATCH] limit systems to the common ones in flake --- flake.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 0184615..6a92ebd 100644 --- a/flake.nix +++ b/flake.nix @@ -11,9 +11,15 @@ nixpkgs, }: let + supported-systems = [ + "x86_64-linux" + "aarch64-linux" + "aarch64-darwin" + "x86_64-darwin" + ]; forAllSystems = f: - nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( + nixpkgs.lib.genAttrs supported-systems ( system: f rec { inherit system; @@ -55,7 +61,7 @@ buildPhase = '' mkdir -p public hugo --baseURL=https://${domain}/ - + python3 ./tools/merge_cals.py upcoming="$(python3 tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" cp static/all.ics public/all.ics