staging -> production #6

Merged
vinzenz merged 8 commits from staging into production 2025-06-07 22:44:35 +02:00
Showing only changes of commit 6aadea1155 - Show all commits

View file

@ -11,9 +11,15 @@
nixpkgs, nixpkgs,
}: }:
let let
supported-systems = [
"x86_64-linux"
"aarch64-linux"
"aarch64-darwin"
"x86_64-darwin"
];
forAllSystems = forAllSystems =
f: f:
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed ( nixpkgs.lib.genAttrs supported-systems (
system: system:
f rec { f rec {
inherit system; inherit system;
@ -55,7 +61,7 @@
buildPhase = '' buildPhase = ''
mkdir -p public mkdir -p public
hugo --baseURL=https://${domain}/ hugo --baseURL=https://${domain}/
python3 ./tools/merge_cals.py python3 ./tools/merge_cals.py
upcoming="$(python3 tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')" upcoming="$(python3 tools/gen_upcoming.py static/all.ics 20 5 | tr '\n' ' ')"
cp static/all.ics public/all.ics cp static/all.ics public/all.ics