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 NIX_EXPERIMENTAL_FEATURES environment option #4163
Conversation
What does this improve over the |
|
Maybe it's better to add a generic environment variable for passing Nix options, e.g. |
@edolstra What would be your preferred separator for such generic options? I have to little knowledge of nix options to know about whats already being used. |
'\n'. Then we can just treat the contents of the environment variable as a configuration file. |
Could one then not just as easily include the Nix configuration file in the project repo and export |
The nix configuration file as such is not really portable as such, if you think about options like |
Ftr, nix also honors (There's also |
Closing this in favor of #4166 |
This allows for a more portable nix-shell for projects that want to use experimental nix features and versions in their nix-shell without users having to fiddle with their local nix configuration.