-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Turn NIX_IGNORE_SYMLINK_STORE=1 into a nix.conf option #2926
Comments
Could we just allow symlinked stores everywhere? Not sure what the rationale for that warning is. On macOS at least, symlinks are used for things like this all the time (/tmp is symlinked to /private/tmp, /etc is symlinked to /private/etc). |
The reason is that builders could canonicalize a path (e.g. do |
Links created with Perhaps making a synthetic directory |
Found a way:
(substituting your UUID). |
Oddly, I still get the following error. Perhaps there's just something wrong with this package, since using a mount seems as if it ought to remove the potential problem. I did successfully build a different package — but that doesn't actually prove anything. Maybe it's something to do with APFS? It is case-insensitive/case-preserving, which I suppose might also screw up a hashing scheme… I think there is a case-sensitive variant available, or at least there used to be. I'll try that.
|
I changed it to a case-insensitive filesystem (which is probably best anyway; I updated the instructions above) — but that did not fix the problem with this particular package. So although this seems as if it should be a perfectly good solution, I still don’t know whether there’s some systemic problem, or just a problem with that package. |
The failure was in fact a problem with that particular package, not related to the setup here. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: |
It would be nice to permanently enable this through the system configuration.
The text was updated successfully, but these errors were encountered: