!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

153 Members
48 Servers

Load older messages


SenderMessageTime
9 Mar 2024
@hexa:lossy.networkhexa used --no-reserve=mode, so it would rely on the umask to be read/writable 19:38:05
@hexa:lossy.networkhexa but now it wants to call an executable from the node_modules dir 19:38:53
@hexa:lossy.networkhexaand I think I'm wiping out executable chmod on all executables19:39:09
@hexa:lossy.networkhexa

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:lossy.networkhexa the obvious fix is calling chmod +x 19:39:26
@hexa:lossy.networkhexabut I wonder if I can copy smarter 🤔19:40:01
@lily:lily.flowersLily Foster tbh just cp it normally then chmod u+w -R 19:40:22
@lily:lily.flowersLily Fosteror play with rsync idk19:40:25
@raitobezarius:matrix.orgraitobezariuslndir can also be a solution 19:40:32
@raitobezarius:matrix.orgraitobezariusYeah +1 rsync19:40:36
@kyle:iteratee.net@kyle:iteratee.netShouldn't it have the +x bit when it gets copied?19:40:45
@hexa:lossy.networkhexafine19:40:46
@hexa:lossy.networkhexanot with --no-preserve=mode 🙂 19:40:56
@hexa:lossy.networkhexau+w recursively is probably the best way19:41:04
@kyle:iteratee.net@kyle:iteratee.netI used rsync with the chmod instead of copy to solve exactly this problem.19:41:56
@kyle:iteratee.net@kyle:iteratee.net* I used rsync with the chmod flag instead of copy to solve exactly this problem.19:42:09
@lily:lily.flowersLily Foster rsync -rlE would probably do it too 19:42:50
@lily:lily.flowersLily Fosteri think19:42:53
@lily:lily.flowersLily Fosteridk rsync scares me19:42:56
@hexa:lossy.networkhexaI think rsync might be overkill 😄 19:43:04
@kyle:iteratee.net@kyle:iteratee.netBut it's a one-liner.19:43:26
@lily:lily.flowersLily Fosternah, we need to make as many packages have rsync as a build-time reverse dep as possible (/s)19:43:34
@lily:lily.flowersLily Foster * nah, we need to make as many packages have rsync as a build-time reverse deps as possible (/s)19:44:20
@lily:lily.flowersLily Foster
In reply to @lily:lily.flowers
nah, we need to make as many packages have rsync as a build-time reverse deps as possible (/s)
(for context, iirc the last time an rsync bump erroneously went to master instead of staging was because the PR author didn't expect it to have thousands of reverse deps)
19:45:02
@kyle:iteratee.net@kyle:iteratee.netOnce you give up on a one-liner, cp and then chmod has the nice property of being simple and obvious (to a reader)19:45:04
@hexa:lossy.networkhexa
In reply to @kyle:iteratee.net
But it's a one-liner.
yeah, but it increases the closure 🙂
19:50:08
@hexa:lossy.networkhexa
In reply to @kyle:iteratee.net
But it's a one-liner.
* yeah, but it increases the build closure 🙂
19:50:15
@lily:lily.flowersLily Fosterrsync in linux stdenv when19:50:36
@qyriad:katesiria.orgQyriad can't install do this? 19:50:58
@qyriad:katesiria.orgQyriad I can never remember exactly what intersection of functionality install has, but it can copy and set permissions at the same time at least 19:51:22

Show newer messages


Back to Room ListRoom Version: 6