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

Build failure: bitwarden-desktop #348920

Closed
Noodlez1232 opened this issue Oct 15, 2024 · 3 comments
Closed

Build failure: bitwarden-desktop #348920

Noodlez1232 opened this issue Oct 15, 2024 · 3 comments

Comments

@Noodlez1232
Copy link
Contributor

Steps To Reproduce

Steps to reproduce the behavior:

  1. build bitwarden-desktop

Build log

[...]
Creating memory-protection wrapper script
Moved binary to bitwarden-app
Copied memory-protection wrapper script
  • skipping "afterSign" hook as no signing occurred, perhaps you intended "afterPack"?
~/source
Finished npmBuildHook
buildPhase completed in 1 minutes 22 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
~/source/apps/desktop/desktop_native ~/source
Executing cargoCheckHook
environment: line 7: prependToVar: command not found
[...]

Additional context

It's not the compilation that fails but instead the checkPhase. I'm not sure why prependToVar is missing either. I thought it was a part of the nixpkgs utility functions.

Notify maintainers

@amarshall

Metadata

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

[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.52-rt43, NixOS, 24.11 (Vicuna), 24.11.20241009.5633bcf`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.8`
 - channels(root): `"nixos-23.05"`
 - nixpkgs: `/nix/store/60sn02zhawl3kwn0r515zff3h6hg6ydz-source`

Add a 👍 reaction to issues you find important.

@loganstundal
Copy link

I'm having the same issue. Using an overlay to roll back to 2024.8.2 did not resolve it due to the same environment: line 7: prependToVar: command not found not found issue.

@amarshall
Copy link
Member

Fixed in #348862.

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/unstable-channel-upgrades-failing-for-me-since-yesterday/54452/2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants