any way to skip setting up binaries?
im building a deno project with nix, and since some recent version (problem arised when i bumped nixpkgs) i started getting this error:
4 Replies
i build it like this:
the related strace output is:
considering this file is symlinked directly from nix store and deno tries to open it with
O_RDWR
, no wonder it fails.
my current workaround is copying deps into a temporary writable directory before invoking deno:
but i feel like deno shouldn't try writing into DENO_DIR when i have the --cached-only
flag set
this is probably a regression, since the same derivation used to work under deno 2.2.2 (nixpkgs rev 199169a2135e6b864a888e89a2ace345703c025d
) (now im using nixpkgs rev 64c8b7cef830215d12c06384b596ae274aa1eca5
, deno 2.4.2)Can you file an issue on https://github.com/denoland/deno/issues ? That's always the best course of actions for posting bugs. That place is where the folks working on Deno itself hang out.
yeah im just not sure if this is a bug or a feature thus asking here :D
Just FYI, sadly I think all nix support for Deno is unofficial. As a fellow nix user tho I'd love a --please-dont-modify-anything-on-disk-fr-fr-please option