| 9 Mar 2024 |
hexa | What is the pnpm situation rn? | 18:40:23 |
hexa | Just making sure I have not missed anything | 18:41:06 |
@kyle:iteratee.net | In reply to @hexa:lossy.network What is the pnpm situation rn? I have a PR open for pnpm2nix-nzbr that supports multi-component workspaces with pnpm. | 19:26:36 |
hexa | I'm kinda interested in zuliup | 19:35:33 |
hexa | * I'm kinda interested in zuli[ | 19:35:34 |
hexa | * I'm kinda interested in zulip | 19:35:36 |
hexa | https://github.com/zulip/zulip | 19:35:45 |
hexa | might take a peek once I'm dong with pretix, if I have time and spoons left | 19:36:04 |
hexa | for now … another question | 19:37:23 |
hexa | I have an output withnode_modules | 19:37:33 |
hexa | I copied it instead of symlink it, so it can be modified during build | 19:37:44 |
hexa | used --no-reserve=mode, so it would rely on the umask to be read/writable | 19:38:05 |
hexa | but now it wants to call an executable from the node_modules dir | 19:38:53 |
hexa | and I think I'm wiping out executable chmod on all executables | 19:39:09 |
hexa |
django.core.management.base.CommandError: An error occurred during rendering pretixcontrol/checkin/list_edit.html: /nix/store/4vzal97iq3dmrgycj8r0gflrh51p8w1s-bash-5.2p26/bin/sh: line 1: /build/source/src/pretix/static.dist/node_prefix/node_modules/rollup/dist/bin/rollup: Permission denied
| 19:39:11 |
hexa | the obvious fix is calling chmod +x | 19:39:26 |
hexa | but I wonder if I can copy smarter 🤔 | 19:40:01 |
Lily Foster | tbh just cp it normally then chmod u+w -R | 19:40:22 |
Lily Foster | or play with rsync idk | 19:40:25 |
raitobezarius | lndir can also be a solution | 19:40:32 |
raitobezarius | Yeah +1 rsync | 19:40:36 |
@kyle:iteratee.net | Shouldn't it have the +x bit when it gets copied? | 19:40:45 |
hexa | fine | 19:40:46 |
hexa | not with --no-preserve=mode 🙂 | 19:40:56 |
hexa | u+w recursively is probably the best way | 19:41:04 |
@kyle:iteratee.net | I used rsync with the chmod instead of copy to solve exactly this problem. | 19:41:56 |
@kyle:iteratee.net | * I used rsync with the chmod flag instead of copy to solve exactly this problem. | 19:42:09 |
Lily Foster | rsync -rlE would probably do it too | 19:42:50 |
Lily Foster | i think | 19:42:53 |
Lily Foster | idk rsync scares me | 19:42:56 |