-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Can't create sym link '/etc/tmpfiles.d/nix-daemon.conf' #10690
Comments
We found/fixed this in the Determinate Nix Installer, too. It turns out the installer needs to pre-create /etc/tmpfiles.d: https://github.com/DeterminateSystems/nix-installer/blob/18d265a6ab4fe2b4e0317ee6b449d30178d53073/src/planner/linux.rs#L80-L85 |
Based on graham's comment, you could probably also follow the uninstall instructions (https://nixos.org/manual/nix/stable/installation/uninstall.html#linux), create the folder, and try installing again. |
It's just a simple step, thanks a lot for help! |
Platform
Linux:
macOS
WSL
Additional information
I used V2rayA to set up a transparent proxy in tproxy mode. Cause I need it to access internet.
Output
---- sudo execution ------------------------------------------------------------ I am executing:
to place the default nix daemon configuration (part 2)
~~> Setting up the nix-daemon systemd service
---- sudo execution ------------------------------------------------------------
I am executing:
to create the nix-daemon tmpfiles config
ln: 无法创建符号链接 '/etc/tmpfiles.d/nix-daemon.conf': 没有那个文件或目录
translation: ln can't create symbol link '/etc/tmpfiles.d/nix-daemon.conf': no such a directory or file.
---- oh no! --------------------------------------------------------------------
Oh no, something went wrong. If you can take all the output and open
an issue, we'd love to fix the problem so nobody else has this issue.
:(
We'd love to help if you need it.
You can open an issue at
https://github.com/NixOS/nix/issues/new?labels=installer&template=installer.md
Or get in touch with the community: https://nixos.org/community
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: