<mightybyte>
Anyone ever see an error like this? stack-to-nix: /nix/store/.../foo.nix: openFile: permission denied (Permission denied)
proofofkeags has joined #haskell.nix
<__monty__>
mightybyte: Are you using flakes or pure eval?
<mightybyte>
Pretty sure it's pure eval.
<__monty__>
So the question is how you're getting that store path and why it's not allowed. Is foo not a buildInput in this case?
<mightybyte>
The weird thing is that the build works fine for the current version of the project. I'm only getting this error after running stack-to-nix to update for some new deps.
<__monty__>
Any reason you're running that manually rather than using stackProject?
<mightybyte>
The project existed long before me so I don't know the history.
<mightybyte>
I think part of the motivation was so builds could be done offline.
<__monty__>
Does the store path exist?
<mightybyte>
Yeah
<mightybyte>
I tried removing it but that didn't seem to do anything
julm has joined #haskell.nix
LambdaDuck has joined #haskell.nix
psy3497 has joined #haskell.nix
fendor has quit [Remote host closed the connection]