fix build

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-10 14:07:10 +01:00
parent 1e6336caba
commit a853a59c2c
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -179,7 +179,8 @@ akkoma-fe = mkYarnPackage rec {
patchPhase = '' patchPhase = ''
sed -i 's/let commitHash = .*/let commitHash = "${inputs.akkoma-fe.rev}"/' build/webpack.prod.conf.js sed -i 's/let commitHash = .*/let commitHash = "${inputs.akkoma-fe.rev}"/' build/webpack.prod.conf.js
sed -i 's/.*git rev-parse.*//' build/webpack.prod.conf.js sed -i 's/.*git rev-parse.*//' build/webpack.prod.conf.js
''; '';
configurePhase = "cp -r $node_modules node_modules";
buildPhase = "yarn build --offline"; buildPhase = "yarn build --offline";
installPhase = "cp -rv dist $out"; installPhase = "cp -rv dist $out";
distPhase = "true"; distPhase = "true";