Skip to content

Instantly share code, notes, and snippets.

@gilligan
Created July 20, 2016 15:14
Show Gist options
  • Select an option

  • Save gilligan/f9d80b60b7b757db95121b8f220a8569 to your computer and use it in GitHub Desktop.

Select an option

Save gilligan/f9d80b60b7b757db95121b8f220a8569 to your computer and use it in GitHub Desktop.
% rm -rf ~/.cache/nix/tarballs/* 1 ↵
zsh: sure you want to delete all the files in /Users/tpflug/.cache/nix/tarballs [yn]? y
[tpflug@yoneda:/tmp]
% nix-shell & nix-shell
[38] 45844
downloading ‘https://github.com/NixOS/nixpkgs/tarball/27af419541a50c33d2bf0762c8740552794e5b1a’... downloading ‘https://github.com/NixOS/nixpkgs/tarball/27af419541a50c33d2bf0762c
8740552794e5b1a’... [01D [0/0 K/i0B ,Ki B0 [30/1 [ [6015/14614 KiB, 364.2 KiB/s]
unpacking ‘https://github.com/NixOS/nixpkgs/tarball/27af419541a50c33d2bf0762c8740552794e5b1a’...
[8605/14614 KiB, 440.8 KiB/s][38] + 45844 suspended (tty input) nix-shell
[14423/14614 KiB, 564.4 KiB/s]
[nix-shell:/tmp]$ exit
... multiple invocations of nix-shell & nix-shell ....
[tpflug@yoneda:/tmp]
% nix-shell & nix-shell
[50] 47320
error: creating symlink from ‘/Users/tpflug/.cache/nix/tarballs/.new_mm46xaz0wdh58q4smch92sw1r3q6gqys-27af419541a50c33d2bf0762c8740552794e5b1a-unpacked’ to ‘/nix/store/grx24c2nc58a8gr4s7jq0a7rr8nn4zs6-27af419541a50c33d2bf0762c8740552794e5b1a’: File exists
[50] 47320 exit 1 nix-shell
[nix-shell:/tmp]$ exit
[tpflug@yoneda:/tmp]
% find ~/.cache/nix/tarballs
/Users/tpflug/.cache/nix/tarballs
/Users/tpflug/.cache/nix/tarballs/1yhlj32hymkr0ifkx1p39ry7h6wl16vgkh5b63y8rr203f3b07kz-file
/Users/tpflug/.cache/nix/tarballs/1yhlj32hymkr0ifkx1p39ry7h6wl16vgkh5b63y8rr203f3b07kz.info
/Users/tpflug/.cache/nix/tarballs/mm46xaz0wdh58q4smch92sw1r3q6gqys-27af419541a50c33d2bf0762c8740552794e5b1a-unpacked
[tpflug@yoneda:/tmp]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment