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

nix: Fix runtime dependencies not being found #26864

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

marius851000
Copy link

(I’m going to follow the template for "Proposing Change". I’m not sure it’s supposed to apply to PR too, or just suggestion)

Problem statment:

The nix build does not execute on a NixOS environment, as it can’t locate the wayland runtime dependancies
The -rpath in the file does not appear to work, at it doesn’t add it to either libraries (this can be checked with patchelf --print-rpath <elf executable>)

solution proposal:

Add the LD_LIBRARY_PATH environment variable to the variable, serving the same purpose, but that work (it’s how I’m used to do that kind of stuff in NixPkgs.

Release Notes:

  • N/A or Fixed Linux Nix build

Other

(I’m not sure it’s important enought to mention in the changelog)
(also, where does I agree to the contributor license agreement? Do I state it here? Yes, I agree to the contributor license agreement as shown here https://zed.dev/cla as of the date of 16/03/2025 at 08:40 UTC)

Copy link

cla-bot bot commented Mar 16, 2025

We require contributors to sign our Contributor License Agreement, and we don't have @marius851000 on file. You can sign our CLA at https://zed.dev/cla. Once you've signed, post a comment here that says '@cla-bot check'.

@marius851000
Copy link
Author

marius851000 commented Mar 16, 2025

Oh! It’s at the end of the page. I have to say, I do not appreciate seemingly not stricly necessary information like an email (not that it’s not in Git) or anything else than a proof it is my GitHub account, but I have more constructive thing to do than to criticize that (questionably legal under GDPR) decision.

@marius851000
Copy link
Author

@cla-bot check

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Mar 16, 2025
Copy link

cla-bot bot commented Mar 16, 2025

The cla-bot has been summoned, and re-checked this pull request!

@maxdeviant maxdeviant changed the title nix: Fix runtime dependancies not being found nix: Fix runtime dependencies not being found Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant