From a853a59c2c9b15d82f6c1db13ce9f6773ee0dd7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 10 Sep 2022 14:07:10 +0100 Subject: [PATCH] fix build --- akkoma/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/akkoma/default.nix b/akkoma/default.nix index 86b319e..86a8d8e 100644 --- a/akkoma/default.nix +++ b/akkoma/default.nix @@ -179,7 +179,8 @@ akkoma-fe = mkYarnPackage rec { patchPhase = '' 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 - ''; + ''; + configurePhase = "cp -r $node_modules node_modules"; buildPhase = "yarn build --offline"; installPhase = "cp -rv dist $out"; distPhase = "true";