install misskey prereqs

This commit is contained in:
jaina heartles 2024-02-25 17:05:26 -08:00
parent c482dc03fd
commit 6300409df0

View file

@ -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";
};
}