This commit is contained in:
41666 2024-04-06 14:59:57 -04:00
parent 959972262d
commit bcace9cdb9
3 changed files with 12 additions and 7 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
.direnv .direnv
result

View file

@ -35,7 +35,6 @@
packages = forAllSystems (system: let packages = forAllSystems (system: let
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
lib = pkgs.lib; lib = pkgs.lib;
patchSet = dirPath: map (file: builtins.readFile ./${dirPath}/${file}) (builtins.filter (file: lib.strings.hasSuffix ".patch" file) (builtins.attrNames (builtins.readDir dirPath)));
in rec { in rec {
default = akkoma.tachikoma; default = akkoma.tachikoma;
@ -49,10 +48,12 @@
domain = "akkoma.dev"; domain = "akkoma.dev";
owner = "AkkomaGang"; owner = "AkkomaGang";
repo = "akkoma"; repo = "akkoma";
hash = "sha256-MPUZFcIxZ21fe3edwi+/Kt8qpwNBCh40wheC3QMqw2M="; hash = "sha256-eKvfuHTLmUU6Dom/GctPSbhrAAik1T/7bYY5j3YUkRo=";
}; };
patches = patchSet ./akkoma; patches = [
# none yet
];
patchFlags = "-p1 -F5"; patchFlags = "-p1 -F5";
}); });
@ -66,10 +67,13 @@
domain = "akkoma.dev"; domain = "akkoma.dev";
owner = "AkkomaGang"; owner = "AkkomaGang";
repo = "akkoma-fe"; repo = "akkoma-fe";
hash = "sha256-MPUZFcIxZ21fe3edwi+/Kt8qpwNBCh40wheC3QMqw2M="; hash = "sha256-Z7psmIyOo8Rvwcip90JgxLhZ5SkkGB94QInEgm8UOjQ=";
}; };
patches = patchSet ./akkoma-fe; patches = [
./akkoma-fe/0001-confirm-favorite.patch
./akkoma-fe/0002-move-notifications.patch
];
patchFlags = "-p1 -F5"; patchFlags = "-p1 -F5";
}); });
}); });

View file

@ -1,8 +1,8 @@
default: build default: build
build: build-be build-fe build: build-be build-fe
build-fe: build-be:
nix build .#akkoma.tachikoma nix build .#akkoma.tachikoma
build-be: build-fe:
nix build .#akkoma-frontends.tachikoma-fe nix build .#akkoma-frontends.tachikoma-fe