Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: builder for '/nix/store/8r6hvk43z84ccdf3ir01pvc2xqjcwj6a-vesktop-0.4.4.drv' failed with exit code 1; #294683

Closed
CDTay opened this issue Mar 10, 2024 · 1 comment
Labels
0.kind: bug Something is broken 2.status: duplicate This is a duplicate of another issue or PR

Comments

@CDTay
Copy link

CDTay commented Mar 10, 2024

--loader flag in Vesktop package installation out of date

Steps to reproduce:

  1. Attempting home-manager switch with pkgs.vesktop

Expected behavior

home-manager updates packages and switches

Terminal Output

> VencordDesktop@0.4.4 build /build/source
> tsx scripts/build/build.mts


node:internal/process/esm_loader:40
      internalBinding('errors').triggerUncaughtException(
                                ^
Error: tsx must be loaded with --import instead of --loader
The --loader flag was deprecated in Node v20.6.0
    at Q (file:///build/source/node_modules/tsx/dist/esm/index.mjs:1:1793)
    at Hooks.addCustomLoader (node:internal/modules/esm/hooks:202:24)
    at Hooks.register (node:internal/modules/esm/hooks:168:16)
    at async initializeHooks (node:internal/modules/esm/utils:167:5)
    at async customizedModuleWorker (node:internal/modules/esm/worker:104:24)

Node.js v18.19.1
 ELIFECYCLE  Command failed with exit code 1.
/nix/store/10i1kjjq5szjn1gp6418x8bc1hswqc90-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
error: builder for '/nix/store/8r6hvk43z84ccdf3ir01pvc2xqjcwj6a-vesktop-0.4.4.drv' failed with exit code 1;
       last 10 log lines:
       > The --loader flag was deprecated in Node v20.6.0
       >     at Q (file:///build/source/node_modules/tsx/dist/esm/index.mjs:1:1793)
       >     at Hooks.addCustomLoader (node:internal/modules/esm/hooks:202:24)
       >     at Hooks.register (node:internal/modules/esm/hooks:168:16)
       >     at async initializeHooks (node:internal/modules/esm/utils:167:5)
       >     at async customizedModuleWorker (node:internal/modules/esm/worker:104:24)
       >
       > Node.js v18.19.1
       >  ELIFECYCLE  Command failed with exit code 1.
       > /nix/store/10i1kjjq5szjn1gp6418x8bc1hswqc90-stdenv-linux/setup: line 131: pop_var_context: head of shell_variables not a function context
       For full logs, run 'nix log /nix/store/8r6hvk43z84ccdf3ir01pvc2xqjcwj6a-vesktop-0.4.4.drv'.
error: 1 dependencies of derivation '/nix/store/np94cf4waid8mk9vv3gjyf7xyr371sgc-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xb5glrn7kfiijpzff8zicdf0ni4y40ii-home-manager-generation.drv' failed to build

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.81, NixOS, 23.11 (Tapir), 23.11.5195.2be119add7b3`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"home-manager-23.11.tar.gz, nixos-23.11"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a 👍 reaction to issues you find important.

@CDTay CDTay added the 0.kind: bug Something is broken label Mar 10, 2024
@eclairevoyant
Copy link
Contributor

duplicate of #293083

@eclairevoyant eclairevoyant closed this as not planned Won't fix, can't repro, duplicate, stale Mar 10, 2024
@eclairevoyant eclairevoyant added the 2.status: duplicate This is a duplicate of another issue or PR label Mar 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken 2.status: duplicate This is a duplicate of another issue or PR
Projects
None yet
Development

No branches or pull requests

2 participants