Skip to content

Instantly share code, notes, and snippets.

@asconix
Created September 18, 2019 05:32
Show Gist options
  • Save asconix/3df276c6b328dfffb38e4cd3b579d029 to your computer and use it in GitHub Desktop.
Save asconix/3df276c6b328dfffb38e4cd3b579d029 to your computer and use it in GitHub Desktop.
[root@archos:~]# nix-env -iA nixos.emacs
installing 'emacs-26.1'
these paths will be fetched (43.40 MiB download, 156.20 MiB unpacked):
/nix/store/1ahcyq0qm2y8ym6aifb3c6cr66i3ps59-libXmu-1.1.2
/nix/store/3747qj98ydfmiyvh9k6djg23zabsjwkr-libcroco-0.6.12
/nix/store/7gyfqf1f998xsh9w0fb65ygcrzgigrjx-libXt-1.1.5
/nix/store/91bbrsha808bzm4bivib2z062kmchb59-libXaw-1.0.13
/nix/store/j5pa9qikrvbxq2cccw0dfhpibqqdb17g-dconf-0.30.1-lib
/nix/store/n852qb4y74agni58hvhp8cdvbzms89xg-librsvg-2.44.12
/nix/store/nimvr3k240kpwsw72b3a2dvxvp5w3p07-emacs-26.1
/nix/store/rz9i7dsn99zn4aqnp5shapgi2gly2vpd-libXpm-3.5.12
/nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
copying path '/nix/store/j5pa9qikrvbxq2cccw0dfhpibqqdb17g-dconf-0.30.1-lib' from 'https://cache.nixos.org'...
copying path '/nix/store/rz9i7dsn99zn4aqnp5shapgi2gly2vpd-libXpm-3.5.12' from 'https://cache.nixos.org'...
copying path '/nix/store/3747qj98ydfmiyvh9k6djg23zabsjwkr-libcroco-0.6.12' from 'https://cache.nixos.org'...
copying path '/nix/store/7gyfqf1f998xsh9w0fb65ygcrzgigrjx-libXt-1.1.5' from 'https://cache.nixos.org'...
copying path '/nix/store/n852qb4y74agni58hvhp8cdvbzms89xg-librsvg-2.44.12' from 'https://cache.nixos.org'...
copying path '/nix/store/1ahcyq0qm2y8ym6aifb3c6cr66i3ps59-libXmu-1.1.2' from 'https://cache.nixos.org'...
copying path '/nix/store/91bbrsha808bzm4bivib2z062kmchb59-libXaw-1.0.13' from 'https://cache.nixos.org'...
copying path '/nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16' from 'https://cache.nixos.org'...
copying path '/nix/store/nimvr3k240kpwsw72b3a2dvxvp5w3p07-emacs-26.1' from 'https://cache.nixos.org'...
building '/nix/store/hbcq2k6zsafp8kklrhm3h1jfsa4xhqd1-user-environment.drv'...
created 268 symlinks in user environment
[root@archos:~]# ls -ld /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
dr-xr-xr-x 4 root root 4 Jan 1 1970 /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
[root@archos:~]# nix-env -e emacs
uninstalling 'emacs-26.1
[root@archos:~]# ls -ld /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
dr-xr-xr-x 4 root root 4 Jan 1 1970 /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
[root@archos:~]# nix-store --gc
finding garbage collector roots...
deleting garbage...
deleting '/nix/store/trash'
deleting unused links...
note: currently hard linking saves -0.01 MiB
0 store paths deleted, 0.00 MiB freed
[root@archos:~]# ls -ld /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
dr-xr-xr-x 4 root root 4 Jan 1 1970 /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
[root@archos:~]# nix-collect-garbage
finding garbage collector roots...
deleting garbage...
deleting '/nix/store/trash'
deleting unused links...
note: currently hard linking saves -0.01 MiB
0 store paths deleted, 0.00 MiB freed
[root@archos:~]# ls -ld /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
dr-xr-xr-x 4 root root 4 Jan 1 1970 /nix/store/xsk59lfh46m0zc3z8ph7gla17jljdksv-libotf-0.9.16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment