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

Support for non FHS distros such as NixOS #27

Open
AtilaSaraiva opened this issue Jan 29, 2022 · 4 comments
Open

Support for non FHS distros such as NixOS #27

AtilaSaraiva opened this issue Jan 29, 2022 · 4 comments

Comments

@AtilaSaraiva
Copy link

Hello, I'm in the process of packaging oil into NixOS but there is one glaring problem. It searches the files from the $LIBDIR directory which currently is located on /usr/local/... which is not present on NixOS. I'd like to propose using the normal way of getting files from the PATH or LD_LIBRARY_PATH, or something like that, so it would be easier. If it ain't possible I might have to patch your code on my side.

Thx for your amazing app.

@AndreiUlmeyda
Copy link
Owner

Hey there, thanks for the suggestion. I will be glad to help with that. Not today but perhaps over the course of the next week or two. I'm not well informed about the proper ways to configure library paths. I've you've got resources to learn about that and a suggestion about how to do this in a way which works with NixOS and nonNixOs I would be thankful.
Cheers

@AndreiUlmeyda
Copy link
Owner

Wait, theres a PR alreay. Even better ;). I will look into it and probably test it inside a vm. Thanks a lot.

@AtilaSaraiva
Copy link
Author

You're welcome! Yeah, I patched the LIBDIR variable with the correct one for NixOS. It took some time for me to figure out but the PR is already merged

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

No branches or pull requests

2 participants