Skip to content

Instantly share code, notes, and snippets.

@sunnycyk
Created August 16, 2018 02:21
Show Gist options
  • Save sunnycyk/3ae04f9758c6c028b00c7d2e81e594ac to your computer and use it in GitHub Desktop.
Save sunnycyk/3ae04f9758c6c028b00c7d2e81e594ac to your computer and use it in GitHub Desktop.
Nix
# To Update
curl -sI https://nixos.org/channels/nixpkgs-unstable/nixexprs.tar.xz | awk '/Location:/ {print $2}'
# compute the hash
nix-prefetch-url --type 256 unpack <URL>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment