diff --git a/misskey-service.nix b/misskey-service.nix index 4e3687d..a6de063 100644 --- a/misskey-service.nix +++ b/misskey-service.nix @@ -66,6 +66,19 @@ }; }; + # todo: figure out how to get misskey to build in nix instead of requiring a manual build process + # + # pnpm2nix does not work due to misskey using workspaces environment.systemPackages = let nodejs = pkgs.unstable.nodejs_20; - in with pkgs; [ (nodePackages.override { inherit nodejs; }).pnpm nodejs ]; + in with pkgs; [ + (nodePackages.override { inherit nodejs; }).pnpm + nodejs + cypress + pkg-config + vips + ]; + environment.sessionVariables = { + CYPRESS_INSTALL_BINARY = "0"; + CYPRESS_RUN_BINARY = "${pkgs.cypress}/bin/Cypress"; + }; }