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

Add Gentoo Prefix vs Nix comparison in documentation #51

Open
vanzod opened this issue Oct 20, 2020 · 3 comments
Open

Add Gentoo Prefix vs Nix comparison in documentation #51

vanzod opened this issue Oct 20, 2020 · 3 comments

Comments

@vanzod
Copy link

vanzod commented Oct 20, 2020

Currently there is no documentation on why the project has chosen Gentoo Prefix over Nix.
This would be useful information to retain.

A few notes on the topic from a Slack conversation with Bart Oldeman at Compute Canada:

  • Nix does not provide a good development platform when used via environment variables. A better option would be to use nix-shell, but that would require users to learn how to use it. For example, see zlib headers are not linked in ~/.nix-profile/include. NixOS/nixpkgs#44144.
  • The lower number of symlinks and the ability to use $EPREFIX/etc/ld.so.cache with Gentoo Prefix might improve overall performance thanks to the lower overhead for the dynamic linker/loader $EPREFIX/lib/ld-linux-x86-64.so.2 to locate the required dynamic libraries.
@boegel
Copy link
Contributor

boegel commented Oct 21, 2020

@bartoldeman Anything you have to add here?

@bartoldeman
Copy link

Looks ok but could elaborate a bit more, by adding a reference to NixOS/nixpkgs#44144 and for "the linker" you can be more specific and say "the dynamic linker/loader $EPREFIX/lib/ld-linux-x86-64.so.2"

@vanzod
Copy link
Author

vanzod commented Oct 21, 2020

@bartoldeman, thanks for the feedback. I have updated my comment.

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

3 participants