From c9063ff77838ec2d8cad26e3ddef9d4fb848376e Mon Sep 17 00:00:00 2001 From: twoneis Date: Sat, 1 Mar 2025 18:46:05 +0100 Subject: [PATCH] try sodiboos suggestion --- modules/fedi/akkoma-fe.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/fedi/akkoma-fe.nix b/modules/fedi/akkoma-fe.nix index f784982..30b7763 100644 --- a/modules/fedi/akkoma-fe.nix +++ b/modules/fedi/akkoma-fe.nix @@ -1,17 +1,14 @@ { runCommand, akkoma-frontends, - jq, xorg, }: runCommand "akkoma-fe" { - styles = builtins.readFile ./styles.json; - nativeBuildInputs = [jq xorg.lndir]; - passAsFile = ["styles"]; + nativeBuildInputs = [xorg.lndir]; } '' mkdir $out lndir ${akkoma-frontends.akkoma-fe} $out rm $out/static/styles.json - cp ${styles} $out/static/ + cp ${./styles.json} $out/static/styles.json ''