only install the frontend

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-09 15:53:35 +01:00
parent badac466a8
commit fcdeb8c4a9
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -178,6 +178,7 @@ akkoma-fe = mkYarnPackage rec {
sed -i 's/.*git rev-parse.*//' build/webpack.prod.conf.js sed -i 's/.*git rev-parse.*//' build/webpack.prod.conf.js
''; '';
buildPhase = "yarn build --offline"; buildPhase = "yarn build --offline";
installPhase = "cp -rv deps/pleroma-fe/dist $out";
}; };
akkoma-admin-src = applyPatches { akkoma-admin-src = applyPatches {
name = "akkoma-admin-fe-src-${inputs.akkoma-admin-fe.lastModifiedDate}"; name = "akkoma-admin-fe-src-${inputs.akkoma-admin-fe.lastModifiedDate}";