mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
fix misskey (not working)
This commit is contained in:
@@ -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
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user