-
Notifications
You must be signed in to change notification settings - Fork 665
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 versioning policy for newer features #737
Comments
This is an excellent question! Right now we've been deferring on answering these questions because the Rust community hasn't quite figured out how to handle this. I've contributed both to I've also contributed to That all being said, I do think we need to start applying developer time to this. Personally, I think it'd be pretty awesome to have Firefox as a consumer of nix. But the counterpoint to that is that nix doesn't provide too much of a wrapper around the bare |
I agree that feature flags are the best way to handle this, unless Rust evolves more detailed platform descriptions. A major unsolved question is how to handle C ABI changes between versions. For example, |
@asomers That conversation is happening rust-lang/libc#721 |
@asomers the target-extension proposed RFC has this goal: tracking breaking changes at OS level. |
@semarie bad link |
@Susurrus thanks. I updated the comment. |
Been a while on this, @kinetiknz any updates on your end for your min version requirements? |
What is nix's versioning policy for adding newer platform features? Is there a minimum OS version that nix and applications built using it are expected to run on?
In a project currently being integrated into Firefox, we're trying to use nix and have run into an issue where the minimum glibc version we must support is 2.12 but nix includes
setns
which is only available in 2.14 onwards. From a quick scan through glibc's abilist, that's currently the only symbol from a glibc newer than 2.12, so there are two questions:While my example is specific to glibc, this question generally applies to other platforms. A theoretical example might be the use of
readlinkat
which was only made available in OS X 10.10, making use of nix on older OS X versions impossible. I understand that older OS X versions tend to become unsupported fairly quickly, so this specific example isn't ideal but you can imagine this problem may reoccur if new features are added to 10.13 or later and then included in nix.The text was updated successfully, but these errors were encountered: