-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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.conf: create function for creating this file #35662
Comments
Should we factor out the generation of Currently I use
and select the |
It would need a different approach and is of a much larger scope, but why not. Does your |
A typical invocation is My current helper library is https://github.com/7c6f434c/lang-os/blob/master/use-from-nixos.nix and its use is https://github.com/7c6f434c/lang-os/blob/master/system-etc-pieces.nix and https://github.com/7c6f434c/lang-os/blob/master/local/test-system.nix ( As of scope — I think the main question is «can we agree to keep Of course, adding |
This is such that even people not using NixOS can use it to generate the nix.conf file. See NixOS#35662
See #44322 (comment) Feel free to close this issue if you feel like that's good enough |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
I have no need for this any longer and the suggestion in #44322 (comment) seems adequate as well. |
Issue description
The
nix-daemon
module creates anix.conf
file. The derivation creating this file is useful also for non-NixOS users and should therefore be factored out.The main motivation is generating the paths for
"extra-sandbox-paths"
.Steps to reproduce
Technical details
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste theresults.
The text was updated successfully, but these errors were encountered: