Skip to content
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

opening directory .. permission denied #39

Open
domenkozar opened this issue Mar 3, 2020 · 2 comments
Open

opening directory .. permission denied #39

domenkozar opened this issue Mar 3, 2020 · 2 comments

Comments

@domenkozar
Copy link
Contributor

while evaluating 'isStorePath' at /nix/store/2l1q3r2h5pb7n34c5v19cwk9bqnqlhdz-source/lib/strings.nix:602:17, called from /nix/store/2l1q3r2h5pb7n34c5v19cwk9bqnqlhdz-source/lib/types.nix:233:36:
while evaluating anonymous function at /nix/store/2l1q3r2h5pb7n34c5v19cwk9bqnqlhdz-source/lib/sources.nix:72:42, called from undefined position:
while evaluating anonymous function at /nix/store/d5f127nplwfanx3lj814sjyar21162dr-source/find-files.nix:25:13, called from /nix/store/2l1q3r2h5pb7n34c5v19cwk9bqnqlhdz-source/lib/sources.nix:72:48:
opening directory '/home/ielectric/dev/cachix/cachix-server/nix/postgres-data': Permission denied
@roberth
Copy link
Member

roberth commented Mar 3, 2020

Hey Domen, that doesn't look like fun.
Could you check that postgres-data is actually gitignored?
I've looked at the source location in the trace, but it's an odd coordinate. Are you using the latest master?
isStorePath makes me think you might be using it in a module option value. Perhaps you need to use the origSrc attribute: let src = gitignoreSource ...; ...; in src.origSrc

@domenkozar
Copy link
Contributor Author

Could you check that postgres-data is actually gitignored?

Yes it is :)

I've looked at the source location in the trace, but it's an odd coordinate. Are you using the latest master?

I'll update :)

isStorePath makes me think you might be using it in a module option value. Perhaps you need to use the origSrc attribute: let src = gitignoreSource ...; ...; in src.origSrc

Is that something that should be documented, why does it need origSrc in that case?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants