mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
misskey: fix pnpm EROFS error
Signed-off-by: phanirithvij <phanirithvij2000@gmail.com>
(cherry picked from commit 31a73caf2f)
This commit is contained in:
parent
d299667705
commit
59409b4900
1 changed files with 2 additions and 0 deletions
|
|
@ -108,6 +108,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
runHook preInstall
|
||||
|
||||
mkdir -p $out/data
|
||||
sed -i '/"packageManager":/d' package.json
|
||||
cp -r . $out/data
|
||||
|
||||
# Set up symlink for use at runtime
|
||||
|
|
@ -119,6 +120,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
makeWrapper ${pnpm}/bin/pnpm $out/bin/misskey \
|
||||
--run "${checkEnvVarScript} || exit" \
|
||||
--chdir $out/data \
|
||||
--add-flag "--config.store-dir=/tmp/pnpm-store" \
|
||||
--add-flag "--config.verify-deps-before-run=false" \
|
||||
--add-flag run \
|
||||
--set-default NODE_ENV production \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue