Skip to content

Instantly share code, notes, and snippets.

@grahamc
Created January 29, 2017 12:27
Show Gist options
  • Save grahamc/34a1a647f530012b403c6825314d1574 to your computer and use it in GitHub Desktop.
Save grahamc/34a1a647f530012b403c6825314d1574 to your computer and use it in GitHub Desktop.
➜ nixpkgs git:(master) nix-env -i jq ~/projects/nixpkgs
installing ‘jq-1.5’
building path(s) ‘/nix/store/prpn5khlqqfhbr27yplq2aahhbi8x43m-user-environment’
created 4 symlinks in user environment
➜ nixpkgs git:(master) nix-collect-garbage -d ~/projects/nixpkgs
removing old generations of profile /nix/var/nix/profiles/per-user/grahamc/channels
removing old generations of profile /nix/var/nix/profiles/per-user/grahamc/profile
finding garbage collector roots...
deleting garbage...
...snip...
deleting ‘/nix/store/trash’
deleting unused links...
note: currently hard linking saves -0.00 MiB
416 store paths deleted, 2.21 MiB freed
➜ nixpkgs git:(master) jq ~/projects/nixpkgs
The program ‘jq’ is currently not installed. You can install it by typing:
nix-env -iA nixos.jq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment