Closed lambiase closed 4 years ago
I haven't seen this before, but I suspect something is wrong with your Nix installation. Is Nix not working at all, or is it just this repository?
nix-shell in general seems to work fine (however I don't have too much experience with the nix package manager).
I can consistently reproduce the issue as follows:
curl -L https://nixos.org/nix/install | sh
nix-shell tools/shell.nix
It looks like it's a nix bug: https://github.com/NixOS/nix/issues/2984
which is also mentioned here: https://github.com/input-output-hk/haskell.nix/issues/466
@chris-martin : are you using a different OS or an older version of nix?
After following the "Multi User Installation" instructions (https://nixos.org/nix/manual/#sect-multi-user-installation) I don't get the permission denied error anymore, confirming that it's a nix bug affecting single user installations only.
When running
I get (on a Debian and on an Ubuntu machine on which I have freshly installed nix):
Is anyone else having the same issue?