add misc.md
This commit is contained in:
parent
66424aa9b1
commit
fd07fdbb34
|
@ -0,0 +1,17 @@
|
||||||
|
## cannot remove '/tmp/env-vars': Operation not permitted
|
||||||
|
|
||||||
|
If, when running nix-shell this happens:
|
||||||
|
|
||||||
|
```
|
||||||
|
coper:~/dot_testing/boxes/phone/init$ nvim shell.nix
|
||||||
|
coper:~/dot_testing/boxes/phone/init$ nix-shell
|
||||||
|
install: cannot remove '/tmp/env-vars': Operation not permitted
|
||||||
|
```
|
||||||
|
|
||||||
|
remove `/tmp/env-vars` (it's owned by root for some reason):
|
||||||
|
|
||||||
|
```
|
||||||
|
$ sudo rm /tmp/env-vars
|
||||||
|
```
|
||||||
|
|
||||||
|
Is there a fix for this?
|
Loading…
Reference in New Issue