fix misskey (not working)

This commit is contained in:
2023-08-14 18:31:50 +08:00
parent 06531833ea
commit ec51b4122c
2 changed files with 14 additions and 3 deletions

View File

@@ -7,8 +7,19 @@ mkYarnPackage
{
owner = "CHN-beta";
repo = "misskey";
rev = "3a243a2575f3127088c16a4c7fbab669e1c163b0";
hash = "sha256-/e1UYs/1ovxDovFRLjiiPouC+AIXlvpp7xZQ7iuFHBY=";
rev = "8b3920502fd8060e498276c985cd58a0ed86b5df";
hash = "sha256-P67D2WAcm44CfeSoeD6/kcQP27C59Hm/htD+gmyn8FE=";
fetchSubmodules = true;
};
configurePhase =
''
cp -r $node_modules node_modules
'';
buildPhase =
''
runHook preBuild
# yarn install --frozen-lockfile --offline
NODE_ENV=production yarn build --offline
runHook postBuild
'';
}

View File

@@ -58,7 +58,7 @@ inputs:
# networking
ipset iptables iproute2 dig nettools traceroute tcping-go whois tcpdump nmap inetutils
# nix tools
nix-output-monitor
nix-output-monitor pnpm-lock-export
# development
clang-tools
# office