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";