fix build
This commit is contained in:
parent
1e6336caba
commit
a853a59c2c
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||||
|
|
Reference in a new issue