-
Notifications
You must be signed in to change notification settings - Fork 37
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
error: access to absolute path '/nix/store/secrets' is forbidden in pure evaluation mode #99
Comments
Something additional that might help or not. Everything was working correctly, until I performed a nix flake update, that upgraded the following repos:
From that point on, regardless if I am using I even tried to switch to the use of Hopefully, not confusing you here, but I thought it was worth mentioning this too! |
I think I am going to revert the pathing changes and go back to strings based on Thanks for bringing this up. |
It does indeed feel weird that you would need a special library to access some files. I'm saying this without knowing what were the reasons for doing so in the first place, or if there are any other benefits using it, since the docs do not mention anything in particular. But I bet you know better...! Looking forward for a fix, so I can upgrade my system. Thanks! |
Are you still considering reverting the changes? Slight tinkering trying to work around the issue is still a no-go for my usecase. :( Just wondering! |
Hey! I've been preoccupied with other things, but I think I am going to revert the path type change. It should happen within the next week, but please ping me again if I forget! |
@stratosgear I have pushed an update to the |
Well I had:
in my flake.nix and it was working. I switched to:
and it still works! So I guess it resolves this issue! |
For me dev branch also works |
After upgrading my flake recently I started getting errors like:
After reading a previous issue here (#98) and trying a debug session with the graceful help of a fellow snowfall user, that is summarized in a completely different repo (Mic92/sops-nix#569) I am still facing issues not being able to make the suggested fix work, as I keep getting the same error while using
lib.snowfall.fs.get-file
or not.My pushed changes that keep failing are in: https://gitlab.com/stratosgear/ultragear/-/tree/snowfall-get-file-error?ref_type=heads
Would you have any suggestions on how to proceed from here...?
Thanks!
The text was updated successfully, but these errors were encountered: