Open SuperSandro2000 opened 3 years ago
I think this error was caused because I filled up the inodes on my /tmp tmpfs
df -i /tmp
Filesystem Type Inodes IUsed IFree IUse% Mounted on
tmpfs tmpfs 400K 125K 276K 32% /tmp
Better debug output or error messages would be certainly useful.
I marked this as stale due to inactivity. → More info
For anyone getting this issue on Docker (e.g. future me) here are some quick commands for clearing up space:
# prune dangling volumes (basically always safe)
docker volume rm `docker volume ls -q -f dangling=true`
#
# decide each of these manually
#
# remove images not used by any container
docker rmi $(docker images -q)
# ! prune containers
docker container prune
# (VERY AGRESSIVE) remove images not being used by any ACTIVE container
docker rmi -f $(docker images -q)
Describe the bug
Prefetching an archive with
nix-prefetch-url --unpack
is broken for me. It always happens with the same file for the same archive./tmp
has about 6GB free which should be enough to fetch nixpkgs master.Steps To Reproduce
Expected behavior
It should return a store path like the stable nix-prefetch-url does
nix-env --version
outputnix-env (Nix) 2.4pre20210601_5985b8b
Additional context
Add any other context about the problem here.
Edit:
I tested it with the nixUnstable from 21.05 and master and I think the breakage happens between these two commits: https://github.com/NixOS/nix/compare/6d2553ae1496288554e871c530836428f405fd67...5985b8b5275605ddd5e92e2f0a7a9f494ac6e35dIt works in nix-shell for some reason.
When I set
TMPDIR=/run/user/1000
it works.