diff --git a/hosts/sisyphe/features/services/akkoma.nix b/hosts/sisyphe/features/services/akkoma.nix index fb14711..73b5c85 100644 --- a/hosts/sisyphe/features/services/akkoma.nix +++ b/hosts/sisyphe/features/services/akkoma.nix @@ -28,12 +28,11 @@ let ''; akkoma-overlay = self: super: { akkoma = super.akkoma.overrideAttrs (old: { - postPatch = '' - mkdir -p $out/priv/static/themes + postPatch = old.postPatch ++ '' - cp ${themeSrc} $out/priv/static/themes/${theme}.json - cp ${pkgs.writeText "styles.json" styles} $out/priv/static/themes - cp ${tosFile} $out/priv/static/terms-of-service.html + cp ${themeSrc} priv/static/themes/${theme}.json + cp ${pkgs.writeText "styles.json" styles} priv/static/themes + cp ${tosFile} priv/static/terms-of-service.html ''; buildInputs = old.buildInputs ++ [